Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4059690

Browse files
committed
build: update configuration
1 parent7e0eae2 commit4059690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎rollup.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
importcommonjsfrom'@rollup/plugin-commonjs'
22
importtypescriptfrom'@rollup/plugin-typescript'
3-
importexternalfrom'rollup-plugin-peer-deps-external'
43
importresolvefrom'@rollup/plugin-node-resolve'
54
importvuefrom'rollup-plugin-vue'
65
import{readFileSync}from'node:fs'
76

87
constpkg=JSON.parse(readFileSync(newURL('package.json',import.meta.url)))
98

109
constplugins=[
11-
external(),
1210
resolve({
1311
dedupe:['vue'],
1412
extensions:['.js','.ts','.json','.vue'],
@@ -32,6 +30,7 @@ export default [
3230
exports:'named',
3331
sourcemap:true,
3432
},
33+
external:['@coreui/chartjs','chart.js','vue'],
3534
plugins:[...plugins,vue()],
3635
},
3736
// SSR build.
@@ -43,6 +42,7 @@ export default [
4342
exports:'named',
4443
sourcemap:true,
4544
},
45+
external:['@coreui/chartjs','chart.js','vue'],
4646
plugins:[...plugins,vue({template:{optimizeSSR:true}})],
4747
},
4848
]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp