webpack-contrib / imports-loader

Imports Loader
MIT License
520 stars 63 forks source link

Incompatible with noParse #8

Closed spalger closed 9 years ago

spalger commented 9 years ago

I'm trying to use the imports loader in order to shim a module, but since it is pre-compiled I have it excluded with a noParse: regexp. This means that the require(...) calls injected by the imports loader don't work.

Any chance I could get this to work?

sokra commented 9 years ago

no. noParse don't parse the file. Not-parsed files cannot have dependencies.