mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
temporaly disable build config
This commit is contained in:
parent
171ac2596a
commit
58148d6c3e
@ -40,29 +40,29 @@ 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",
|
||||||
lib: {
|
// lib: {
|
||||||
entry: "src/App.jsx",
|
// entry: "src/App.jsx",
|
||||||
formats: ["cjs"],
|
// formats: ["cjs"],
|
||||||
},
|
// },
|
||||||
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].cjs",
|
// entryFileNames: "[name].cjs",
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
emptyOutDir: true,
|
// emptyOutDir: true,
|
||||||
brotliSize: false,
|
// brotliSize: false,
|
||||||
}
|
// }
|
||||||
|
|
||||||
return config
|
return config
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user