Fix formatting in vite.config.ts

This commit is contained in:
thepaperpilot 2022-07-26 15:37:38 -05:00
parent 4577ac05fe
commit ad89cc4933

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: [