Closed paulsouche closed 7 years ago
It is not possible.
The loader takes a string and converts it into a callback that returns a module, this is how webpack works with require.ensure
and now with the new import()
option...
When a loader run (any loader) it will do some work and return a transformed version of the code. A loader does not execute the code.
So in your case when the loader runs it sees the code as is, not the executed, runtime, result.
Hi
I don't know if it is a bug or a feature but I get this error trying to do something like
Everything works fime without map
full stackTrace
You can see what I want to do working on this plunker
Thanks anyway for the great job