Skip to content

Commit 60f4796

Browse files
committed
Respect "node" configuration
1 parent ede954a commit 60f4796

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/configure.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ export default function configure(options) {
182182
plugins: (webpackConfig.plugins || []).filter( plugin => {
183183
let name = plugin && plugin.constructor.name;
184184
return /^\s*(UglifyJS|HTML|ExtractText|BabelMinify)(.*Webpack)?Plugin\s*$/gi.test(name);
185-
})
185+
}),
186+
node: webpackProp('node', {})
186187
},
187188

188189
webpackMiddleware: {

0 commit comments

Comments
 (0)