Skip to content

Commit

Permalink
use named exports for esm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat authored and Patrick committed Apr 27, 2021
1 parent 0c7d7ef commit d1d1501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rollup.vue2-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default {
file: `dist/vue${options.version}.mjs`,
format: 'esm',
sourcemap: options.sourceMapsEnabled,
exports: 'named',
plugins: [],
},
],
Expand Down
1 change: 1 addition & 0 deletions rollup.vue3-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default {
file: `dist/vue${options.version}.mjs`,
format: 'esm',
sourcemap: options.sourceMapsEnabled,
exports: 'named',
plugins: [],
},
],
Expand Down

0 comments on commit d1d1501

Please sign in to comment.