mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
disable config.build
This commit is contained in:
parent
751a1ffa01
commit
6c1699447f
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user