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: "./",
|
base: "./",
|
||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output:{
|
output: {
|
||||||
manualChunks(id) {
|
manualChunks(id) {
|
||||||
if (id.includes('node_modules')) {
|
if (id.includes("node_modules")) {
|
||||||
return id.toString().split('node_modules/')[1].split('/')[0].toString();
|
return id.toString().split("node_modules/")[1].split("/")[0].toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
vue: 'vue/dist/vue.esm-bundler.js'
|
vue: "vue/dist/vue.esm-bundler.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Reference in a new issue