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.
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.