diff --git a/packages/app/.config.js b/packages/app/.config.js index 4f3d8eaf..b363af54 100644 --- a/packages/app/.config.js +++ b/packages/app/.config.js @@ -41,29 +41,25 @@ module.exports = (config = {}) => { } } - // config.build = { - // sourcemap: "inline", - // target: `node16`, - // outDir: "dist", - // assetsDir: ".", - // minify: process.env.MODE !== "development", - // lib: { - // entry: "src/App.jsx", - // formats: ["cjs"], - // }, - // rollupOptions: { - // external: [ - // "electron", - // "electron-devtools-installer", - // ...builtinModules.flatMap(p => [p, `node:16`]), - // ], - // output: { - // entryFileNames: "[name].cjs", - // }, - // }, - // 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 } \ No newline at end of file