You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shall we write the file to disk only after Webpack finished bundling our code? We could make use the compiler done callback as noted here on the official docs.
functionHelloWorldPlugin(options){// Setup the plugin instance with options...}HelloWorldPlugin.prototype.apply=function(compiler){compiler.plugin('done',function(){console.log('Hello World!');});};module.exports=HelloWorldPlugin;
The text was updated successfully, but these errors were encountered:
Shall we write the file to disk only after Webpack finished bundling our code? We could make use the compiler
done
callback as noted here on the official docs.The text was updated successfully, but these errors were encountered: