disable config.build

This commit is contained in:
srgooglo 2022-06-01 20:17:55 +02:00
parent 751a1ffa01
commit 6c1699447f

View File

@ -41,25 +41,25 @@ module.exports = (config = {}) => {
}
}
config.build = {
sourcemap: "inline",
target: `node16`,
outDir: "dist",
assetsDir: ".",
minify: process.env.MODE !== "development",
rollupOptions: {
external: [
"electron",
"electron-devtools-installer",
...builtinModules.flatMap(p => [p, `node:16`]),
],
output: {
entryFileNames: "[name].js",
},
},
emptyOutDir: true,
brotliSize: false,
}
// config.build = {
// sourcemap: "inline",
// target: `node16`,
// outDir: "dist",
// assetsDir: ".",
// minify: process.env.MODE !== "development",
// rollupOptions: {
// external: [
// "electron",
// "electron-devtools-installer",
// ...builtinModules.flatMap(p => [p, `node:16`]),
// ],
// output: {
// entryFileNames: "[name].js",
// },
// },
// emptyOutDir: true,
// brotliSize: false,
// }
return config
}