callback-loader
callback-loader copied to clipboard
Where does this go?
Dude.. great idea but your example is a little light? Where exactly in the webpack.config do I put this?
Thanks
Webpack config is a simple JS object, so you must put your callbacks inside it 'callbackLoader' property (on the same level with 'loaders', 'output', 'module' and others). And which file must be processed with the loader should be configured as usual.