chore: update tools
parent
58e8fd3e2e
commit
dae579a88e
|
@ -215,7 +215,7 @@ All rights reserved.
|
|||
};
|
||||
|
||||
if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
const entry = ['./index'];
|
||||
let entry = ['./index'];
|
||||
config.externals = {
|
||||
vue: {
|
||||
root: 'Vue',
|
||||
|
@ -237,6 +237,7 @@ All rights reserved.
|
|||
],
|
||||
};
|
||||
if (esm) {
|
||||
entry = ['./index.esm'];
|
||||
config.experiments = {
|
||||
...config.experiments,
|
||||
outputModule: true,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
export * from './components';
|
Loading…
Reference in New Issue