You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A valid bundle is included and all modules can be found via require()
Actual result
The bundle fails to require the "bluebird" module with the following error:
Uncaught Error: Cannot find module 'bluebird'
You can see in the reproduction code that bluebird does in fact exist. It is defined in main2.js/bundle2.js. As a result, it should be found, but it fails to be found.
Reproduction Code
Include bundle1.js and bundle2.js into a file and then call the functions:
window.main1();
window.main2();
You will receive the error that bluebird cannot be found even though it is clearly defined in main2/bundle2
It is the main1() function that fails to find the module.
Expected Result
Actual result
The bundle fails to require the "bluebird" module with the following error:
You can see in the reproduction code that bluebird does in fact exist. It is defined in main2.js/bundle2.js. As a result, it should be found, but it fails to be found.
Reproduction Code
Include bundle1.js and bundle2.js into a file and then call the functions:
You will receive the error that bluebird cannot be found even though it is clearly defined in main2/bundle2
It is the main1() function that fails to find the module.
Grunt file
Main1.js
Main2.js
The text was updated successfully, but these errors were encountered: