rewire-webpack icon indicating copy to clipboard operation
rewire-webpack copied to clipboard

rewire doesn't work within AMD modules

Open hc2p opened this issue 9 years ago • 0 comments

the issue might be related to this bug but i'm not sure https://github.com/jhnns/rewire-webpack/issues/12

I'm running jasmine under Karma using webpack for packaging. When writing my specs in AMD notation, i can't rewire modules. It works when changing to CommonJS notation. It seems webpack is not able to replace the module name with the internal module-number.

hc2p avatar Nov 02 '15 13:11 hc2p