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:
parent
58e2376c4d
commit
66b94dc5e1
@ -3,7 +3,6 @@
|
||||
"version": "3.0.9",
|
||||
"description": "@vue/compiler-sfc",
|
||||
"main": "dist/compiler-sfc.cjs.js",
|
||||
"module": "dist/compiler-sfc.esm-browser.js",
|
||||
"types": "dist/compiler-sfc.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -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']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user