-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source map is not included in the package but is referenced by the min file #360
Comments
This is still a problem in 2.1.1 and Safari logs are littered with these errors: [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (sv-wc-payment-gateway-payment-form.min.js.map, line 0) |
We have a downstream extension merchant reporting a console on every page load due to an issue in the Their suggestion to fix this is to change the following:
to
Expected BehaviorNo console errors coming from the said source map. Actual BehaviorFollowing error in console:
Additional DetailsSee forum thread here. |
See related file location of concern: Line 2 in c78046e
Noting that some of the other |
hey there thanks for logging this and apologies for the late reply I have opened a PR in #667 and updated the build dependencies including In the meantime I have also opened an issue in gruntjs/grunt-contrib-sass#283 hoping that the package would address this. |
See https://wordpress.org/support/topic/file-missing-from-plugin-2/ - Safari logs the missing source map as an error to the dev console.
The map files should either be included in this package, or the JS should be compiled without source maps.
The text was updated successfully, but these errors were encountered: