forked from profectus/Profectus
Fix formatting in vite.config.ts
This commit is contained in:
parent
1997f70699
commit
2af202a7f1
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