Fix module resolution stuff
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
"access": "public"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "dist/editor/src/index",
|
||||
"types": "dist/editor/src/index",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/editor/src/index.js",
|
||||
"types": "./dist/editor/src/index.d.ts"
|
||||
},
|
||||
"./index.css": "src/index.css"
|
||||
},
|
||||
"files": [
|
||||
@@ -18,7 +20,7 @@
|
||||
"src/index.css"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "pnpm run clean && pnpm run compile",
|
||||
"build": "pnpm run clean && pnpm run compile --force",
|
||||
"clean": "rimraf ./dist",
|
||||
"compile": "tsc -b tsconfig.build.json",
|
||||
"prepublishOnly": "pnpm run build"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
export * from "./nodeviews/index.js"
|
||||
export * from "./extensions/index.js"
|
||||
export * from "./plugins/index.js"
|
||||
export {Editor, NodeViewProps} from '@tiptap/core'
|
||||
export {UploadTask} from 'nostr-editor'
|
||||
|
||||
Reference in New Issue
Block a user