Skip to content

Commit 1a93475

Browse files
committed
Vite rollup fix.
1 parent a152f89 commit 1a93475

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue-wrapper",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Bootstrap 5 components in Vue3 wrapper.",
55
"main": "./dist/bootstrap-vue-wrapper.umd.js",
66
"module": "./dist/bootstrap-vue-wrapper.mjs",

vite.config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ export default defineConfig({
1414
fileName: 'bootstrap-vue-wrapper',
1515
},
1616
rollupOptions: {
17-
external: ['vue', 'bootstrap'],
17+
external: [
18+
'vue',
19+
'vue-i18n',
20+
'vue-router',
21+
'bootstrap',
22+
'bootstrap-icons',
23+
'sass',
24+
'@popperjs/core',
25+
],
1826
output: {
1927
globals: {
2028
vue: 'Vue',

0 commit comments

Comments
 (0)