Skip to content

Commit 8b4973c

Browse files
committed
Merge pull request webpack#1106 from Dashed/patch-1
rename atom to electron
2 parents 76230e4 + 4018f5a commit 8b4973c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/WebpackOptionsApply.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
113113
);
114114
break;
115115
case "atom":
116+
case "electron":
116117
var NodeTemplatePlugin = require("./node/NodeTemplatePlugin");
117118
var NodeTargetPlugin = require("./node/NodeTargetPlugin");
118119
var ExternalsPlugin = require("./ExternalsPlugin");
@@ -140,7 +141,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
140141
"screen",
141142
"shell"
142143
]),
143-
new LoaderTargetPlugin("atom")
144+
new LoaderTargetPlugin(options.target)
144145
);
145146
break;
146147
default:

0 commit comments

Comments
 (0)