Skip to content

Commit 2e175e8

Browse files
committed
add electron-is-dev
1 parent ae9f26b commit 2e175e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

webpack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ const node = {
3030
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV)
3131
}),
3232
// textlint in node.js
33-
new webpack.ExternalsPlugin("commonjs", ["textlint", "electron-updater"])
33+
new webpack.ExternalsPlugin("commonjs", [
34+
"textlint",
35+
"electron-updater",
36+
"electron-is-dev"
37+
])
3438
],
3539
node: {
3640
__dirname: false,

0 commit comments

Comments
 (0)