mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
fix: incorrect type imports (#9308)
This commit is contained in:
@ -2,18 +2,18 @@
|
||||
"name": "@excalidraw/utils",
|
||||
"version": "0.1.2",
|
||||
"type": "module",
|
||||
"types": "./dist/types/utils/index.d.ts",
|
||||
"types": "./dist/types/utils/src/index.d.ts",
|
||||
"main": "./dist/prod/index.js",
|
||||
"module": "./dist/prod/index.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/types/utils/index.d.ts",
|
||||
"types": "./dist/types/utils/src/index.d.ts",
|
||||
"development": "./dist/dev/index.js",
|
||||
"production": "./dist/prod/index.js",
|
||||
"default": "./dist/prod/index.js"
|
||||
},
|
||||
"./*": {
|
||||
"types": "./../utils/dist/types/utils/*"
|
||||
"types": "./../utils/dist/types/utils/src/*.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
|
@ -2,5 +2,7 @@
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist/types"
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*", "global.d.ts"],
|
||||
"exclude": ["**/*.test.*", "tests", "types", "examples", "dist"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user