Skip to content

Commit

Permalink
Merge pull request #62 from PrefectHQ/vue-router-external
Browse files Browse the repository at this point in the history
Make sure vue-router is an external dependency
  • Loading branch information
pleek91 authored May 23, 2022
2 parents 7f97644 + 532106d commit b77c025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => {
},
rollupOptions: {
// ensures vue isn't added to the bundle
external: ['vue'],
external: ['vue', 'vue-router'],
output: {
exports: 'named',
// Provide vue as a global variable to use in the UMD build
Expand Down

0 comments on commit b77c025

Please sign in to comment.