chore: use alias instead of module field
...before we figure out what is the ideal behavior when adding exports field
This commit is contained in:
@@ -11,6 +11,11 @@ export default defineConfig({
|
||||
define: {
|
||||
__COMMIT__: JSON.stringify(commit)
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@vue/compiler-sfc': '@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js'
|
||||
}
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['consolidate']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user