plasticine / inject-loader

💉📦 A Webpack loader for injecting code into modules via their dependencies.
https://www.npmjs.com/package/inject-loader
MIT License
484 stars 47 forks source link

Not working with AMD modules #21

Closed samny closed 7 years ago

samny commented 7 years ago

I can't get this to work when loading AMD modules, but works fine for CommonJS and ES6 modules. Is this a known issue?

plasticine commented 7 years ago

@samny I’ve not built any support for AMD modules at this point no. If it’s something that is of interest it’s possible I could add it in a future version. Would love a PR! <3

sterling commented 6 years ago

I'm running into issues with amd modules as well. Would love to see support in the future!