Skip to content

Commit ee44313

Browse files
committed
Added rolllup configs to dismiss warnings
1 parent 3b01cc7 commit ee44313

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ export default [
66
input: 'src/index.js',
77
output: [
88
{
9+
exports: 'auto',
910
format: 'esm',
1011
file: 'dist/library.mjs'
1112
},
1213
{
14+
exports: 'auto',
1315
format: 'cjs',
1416
file: 'dist/library.js'
1517
}
1618
],
19+
external: ['vue'],
1720
plugins: [
18-
vue(), peerDepsExternal()
21+
vue(),
22+
peerDepsExternal()
1923
]
2024
}
2125
]

0 commit comments

Comments
 (0)