Skip to content

Commit

Permalink
fix: encountered an error while using a CDN link(#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
imzbf committed Mar 21, 2024
1 parent ebec2d3 commit 92a827f
Show file tree
Hide file tree
Showing 3 changed files with 879 additions and 823 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vavt/markdown-theme": "^3.2.1",
"@vavt/markdown-theme": "^3.2.2",
"@vavt/vite-plugin-import-markdown": "^1.0.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
Expand All @@ -82,10 +82,10 @@
"prettier": "^3.2.5",
"screenfull": "^6.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"typescript": "5.3.3",
"vite": "^5.1.4",
"vite-plugin-dts": "^3.7.3",
"vue": "^3.2.47",
"vue": "3.2.47",
"vue-tsc": "^1.8.27"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ globalThis.__name = __name;
emptyOutDir: false,
cssCodeSplit: true,
outDir: resolvePath('lib'),
minify: false,
// nuxt识别出,压缩后的h与vue导出的冲突了
minify: t === 'umd',
lib: {
entry: entries[t],
name: 'MdEditorV3',
Expand Down
Loading

0 comments on commit 92a827f

Please sign in to comment.