Open
Description
If you export more than one configuration, onBuildEnd is fired after the first configuration is processed even if that configuration uses no plugins.
Also the last onBuildEnd definition overwrites all previously defined.
node 8.7.0
webpack 3.8.1
webpack-shell-plugin 0.5.0
module.exports = [{
entry: {
client: ['./client.ts']
},
// will never fire..
plugins: [new WebpackShellPlugin({ onBuildEnd: ['echo "fin client"'] })],
...
}, {
entry: {
server: ['./server.ts']
},
// will fire when client is finished
plugins: [new WebpackShellPlugin({ onBuildEnd: ['echo "fin server"'] })],
...
}];
Metadata
Metadata
Assignees
Labels
No labels