These are chat archives for webpack/webpack/dev

Oct 2016
Bart Buczek
Oct 13 2016 08:07

I’m using webpack in my project and I’m using loaders to load some scripts like this:

    __html: require('!!raw!../myScript.js'),

However I would like to have ’!!raw! as variable. Probably in the future myScript.js as well. Is there any way to use variable instead of simple string?
(just in case I’m working with react and RSK basically)