Closed dpashin closed 7 years ago
I am also getting this error after switching to webpack 2
@dpashin You managed to solve the problem ?
@superartgun, as a workaround, i can fork repo and remove this block
if (typeof requirejs !== 'undefined') {...}
than all builds fine. Of course, it's a bad solution. I'm waitng for an answer.
Same issue here, waiting for a fix.
Hello!
I have no way to check it out right now.
Tell me, what type of a variable requirejs
at the time of the error?
The necessary changes have been made. I apologize for the delay.
@devote, did you published new version to npm registry? I don't see new version here https://www.npmjs.com/package/html5-history-api
Sorry! Published!
Thanks! all works.
Can not bundle package using webpack 2
Hi. Now i'm using html5-history-api and webpack 1.14.0, and all works fine. I've tried to upgrade webpack to 2.x and got error "Uncaught ReferenceError: Invalid left-hand side in assignment"
Seems that webpack rewrites this code and something goes wrong.
Steps to reproduce: