Skip to content

Commit

Permalink
fix: fix path resolve warning (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
cycleccc authored Oct 16, 2024
1 parent efd8670 commit ceeb138
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 11 deletions.
14 changes: 14 additions & 0 deletions .changeset/brown-pots-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@wangeditor-next/upload-image-module': patch
'@wangeditor-next/code-highlight': patch
'@wangeditor-next/basic-modules': patch
'@wangeditor-next/yjs-for-react': patch
'@wangeditor-next/table-module': patch
'@wangeditor-next/video-module': patch
'@wangeditor-next/list-module': patch
'@wangeditor-next/editor': patch
'@wangeditor-next/core': patch
'@wangeditor-next/yjs': patch
---

fix path resolve warning
4 changes: 3 additions & 1 deletion packages/basic-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/packages/basic-modules/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/code-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/code-highlight/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/core/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"exports": {
".": {
"types": "./dist/editor/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/list-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/list-module/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/table-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/table-module/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/upload-image-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/upload-image-module/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/video-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
"exports": {
".": {
"types": "./dist/video-module/src/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
4 changes: 3 additions & 1 deletion packages/yjs-for-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"exports": {
".": {
"types": "./dist/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"files": [
"dist"
Expand Down
4 changes: 3 additions & 1 deletion packages/yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"exports": {
".": {
"types": "./dist/index.d.ts",

"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"./dist/css/style.css": "./dist/css/style.css"
},
"directories": {
"lib": "dist",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"baseUrl": ".",
"paths": {
"@wangeditor-next/*": [
"packages/*/src"
"packages/*/src",
"packages/*/dist"
]
},
},
Expand Down

0 comments on commit ceeb138

Please sign in to comment.