I have created a simple example webpack application inspired by your blog post in my gitlab account. This works as expected with version 1.31, but when I switch the version to 1.35.1, it fails with:
12:25:25.283 ReferenceError: jsep is not defined 1 app.js:177209:5
<anonymous> http://localhost:8080/app.js:177209:5
main http://localhost:8080/app.js:4387:30
callDep http://localhost:8080/app.js:4245:13
main http://localhost:8080/app.js:4378:31
callDep http://localhost:8080/app.js:4245:13
main http://localhost:8080/app.js:4378:31
callDep http://localhost:8080/app.js:4245:13
main http://localhost:8080/app.js:4378:31
callDep http://localhost:8080/app.js:4245:13
main http://localhost:8080/app.js:4378:31
callDep http://localhost:8080/app.js:4245:13
main http://localhost:8080/app.js:4378:31
req http://localhost:8080/app.js:4452:13
<anonymous> http://localhost:8080/app.js:229027:1
<anonymous> http://localhost:8080/app.js:4069:2
<anonymous> http://localhost:8080/app.js:4047:29
__webpack_require__ http://localhost:8080/app.js:20:12
<anonymous> http://localhost:8080/app.js:3844:1
__webpack_require__ http://localhost:8080/app.js:20:12
<anonymous> http://localhost:8080/app.js:234705:18
__webpack_require__ http://localhost:8080/app.js:20:12
<anonymous> http://localhost:8080/app.js:66:18
<anonymous> http://localhost:8080/app.js:1:11
At this line:
return jsep.noConflict();
This works fine for me with 1.34 and fails with 1.35.1. I'm able to upgrade/downgrade to reproduce it but I'm unclear what the fix is.
jsep is a new dependency in 1.35.
@ggetz do you want to look at this? I think there's been other webpack dependency issues if you search here.
Most helpful comment
jsep is a new dependency in 1.35.
@ggetz do you want to look at this? I think there's been other webpack dependency issues if you search here.