Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Oct 15, 2024
1 parent a2edc75 commit 04b4946
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const libConfig = (env, argv) => {
target: "web",
mode: "production",
cache: {
type: isDevServer ? "memory" : "filesystem",
type: "filesystem",
},
resolve: {
fallback: { crypto: false },
Expand Down Expand Up @@ -180,9 +180,7 @@ const libConfig = (env, argv) => {
return merge(tsConfig, config);
};



const browserConfig = (env, argv) => {
const browserConfig = (/*env, argv*/) => {
const isDevServer = process.env.WEBPACK_SERVE;

/** @type {import('webpack').Configuration['entry']} */
Expand Down Expand Up @@ -274,4 +272,9 @@ const browserConfig = (env, argv) => {
return merge(tsConfig, config);
};

module.exports = [browserConfig, electronMainConfig, electronPreloadConfig];
module.exports = [
libConfig,
browserConfig,
electronMainConfig,
electronPreloadConfig,
];

0 comments on commit 04b4946

Please sign in to comment.