callback-loader icon indicating copy to clipboard operation
callback-loader copied to clipboard

Where does this go?

Open WolfieWerewolf opened this issue 8 years ago • 1 comments

Dude.. great idea but your example is a little light? Where exactly in the webpack.config do I put this?

Thanks

WolfieWerewolf avatar Apr 29 '16 22:04 WolfieWerewolf

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.

Kreozot avatar May 04 '16 08:05 Kreozot