Fix formatting in vite.config.ts
This commit is contained in:
parent
4577ac05fe
commit
ad89cc4933
1 changed files with 6 additions and 6 deletions
|
@ -10,10 +10,10 @@ export default defineConfig({
|
|||
base: "./",
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output:{
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.includes('node_modules')) {
|
||||
return id.toString().split('node_modules/')[1].split('/')[0].toString();
|
||||
if (id.includes("node_modules")) {
|
||||
return id.toString().split("node_modules/")[1].split("/")[0].toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ export default defineConfig({
|
|||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
vue: 'vue/dist/vue.esm-bundler.js'
|
||||
vue: "vue/dist/vue.esm-bundler.js"
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
|
|
Loading…
Reference in a new issue