I did some experimenting and it looks like you can specify additionalCode inline. Currently the examples are only of type= and imports=.
Your Proposal for Changes
Add an example like:
import myLib from 'imports-loader?additionalCode=var%20require%20=%20false;!./example.js';
// Adds the following code to the beginning of example.js:
// var require = false;
Documentation Is:
Please Explain in Detail...
I did some experimenting and it looks like you can specify
additionalCode
inline. Currently the examples are only oftype=
andimports=
.Your Proposal for Changes
Add an example like: