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
We found the issue occurs when we use source-maps for specific functions that have .map in the path like "../node_modules/core-js/modules/es6.array.map.js"
We have a JS asset that contains some generic polyfills from @babel/polyfill
From this Sprockets v3.4.0 update, our application stopped working
We found the issue occurs when we use
source-maps
for specific functions that have.map
in the path like"../node_modules/core-js/modules/es6.array.map.js"
Original code:
Using this REGEX
\/\/# sourceMappingURL=(.*\.map)
then generates false positives:And finally will lead to an output like this, which will make the application crash:
(From: <application_path>/assets/application.js)
The text was updated successfully, but these errors were encountered: