Skip to content

Commit

Permalink
add electron-is-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Feb 11, 2017
1 parent ae9f26b commit 2e175e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const node = {
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV)
}),
// textlint in node.js
new webpack.ExternalsPlugin("commonjs", ["textlint", "electron-updater"])
new webpack.ExternalsPlugin("commonjs", [
"textlint",
"electron-updater",
"electron-is-dev"
])
],
node: {
__dirname: false,
Expand Down

0 comments on commit 2e175e8

Please sign in to comment.