Fix formatting in vite.config.ts

This commit is contained in:
thepaperpilot 2022-07-26 15:37:38 -05:00
parent 1997f70699
commit 2af202a7f1

View file

@ -10,18 +10,18 @@ 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();
}
}
}
}
},
resolve: {
alias: {
vue: 'vue/dist/vue.esm-bundler.js'
vue: "vue/dist/vue.esm-bundler.js"
}
},
plugins: [