Webpack produces invalid JS code

Using your latest version, turns out webpack is producing broken JS code

Chrome complains with

index.coffee:2 Uncaught SyntaxError: missing ) after argument list
    at Object../lib/jquery/index.coffee (lib.js:851)
    at __webpack_require__ (lib.js:710)
    at fn (lib.js:95)
    at eval (multi_jquery_goog_ext:1)
    at Object.1 (lib.js:1060)
    at __webpack_require__ (lib.js:710)
    at lib.js:762
    at lib.js:765

Tried to find this out by eliminating each option one after one but no luck. Any clues what this could be? I have this error three times for all my three entry points in development mode.

Author: Fantashit

2 thoughts on “Webpack produces invalid JS code

Comments are closed.