Does this loader support Webpack 2? If so, how would you specify the options with the new rules API?
For example. I have this:
{
test: /globalize/,
loader: 'imports?define=>false',
},
I was thinking:
{
test: /globalize/,
use: [{ loader: 'imports-loader', options: { 'define=>false': '' } }],
}
But I'm unsure, and it seems odd...
Does this loader support Webpack 2? If so, how would you specify the options with the new
rulesAPI?For example. I have this:
I was thinking:
But I'm unsure, and it seems odd...