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 = {
|
// config.build = {
|
||||||
sourcemap: "inline",
|
// sourcemap: "inline",
|
||||||
target: `node16`,
|
// target: `node16`,
|
||||||
outDir: "dist",
|
// outDir: "dist",
|
||||||
assetsDir: ".",
|
// assetsDir: ".",
|
||||||
minify: process.env.MODE !== "development",
|
// minify: process.env.MODE !== "development",
|
||||||
rollupOptions: {
|
// rollupOptions: {
|
||||||
external: [
|
// external: [
|
||||||
"electron",
|
// "electron",
|
||||||
"electron-devtools-installer",
|
// "electron-devtools-installer",
|
||||||
...builtinModules.flatMap(p => [p, `node:16`]),
|
// ...builtinModules.flatMap(p => [p, `node:16`]),
|
||||||
],
|
// ],
|
||||||
output: {
|
// output: {
|
||||||
entryFileNames: "[name].js",
|
// entryFileNames: "[name].js",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
emptyOutDir: true,
|
// emptyOutDir: true,
|
||||||
brotliSize: false,
|
// brotliSize: false,
|
||||||
}
|
// }
|
||||||
|
|
||||||
return config
|
return config
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user