Skip to content

Commit

Permalink
fix: vue2 entry point export fix
Browse files Browse the repository at this point in the history
cloned umd file into vue2 dir
  • Loading branch information
selimdoyranli committed May 7, 2023
1 parent 51881b4 commit aa786f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions build/rollup.config.vue2.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ if (!argv.format || argv.format === 'umd') {
...baseConfig,
external,
output: [
{
file: 'vue2/index.js',
format: 'umd',
exports: 'named',
globals,
name: 'LazyComponent',
plugins: [
terser({
...baseConfig.plugins.terser,
}),
]
},
{
file: 'dist/vue2/index.js',
format: 'umd',
Expand Down
2 changes: 1 addition & 1 deletion vue2/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa786f7

Please sign in to comment.