Remove sourcemaps from distribution files.
See original GitHub issueWhat kind of issue is this? (put ‘x’ between the square brackets)
- Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn’t working the way you expect it to, use
http://stackoverflow.com/questions/ask .
Provide working code, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101.
We monitor the tag
parsley.js
. - Bug report. If you’ve found a bug, you must provide a minimal example in a CodePen, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101 .
- Feature Request. Make sure there’s no good way to do what you want first; consider asking on http://stackoverflow.com/questions/ask first.
Hi, so I use bower, and bower installer to install dependencies, when requesting distribution files I don’t require the sourcemap, however because the sourcemap is not included in the bower file as a main file it doesn’t get installed by bower installer causing my grunt tasks to fail due to the missing sourcemap.
Can you either exclude sourcemaps from distribution files, or include the sourcemap in bower.json as a main file? Preferably the former as I have no requirement for source maps in production code.
Thanks! 😃
Issue Analytics
- State:
- Created 7 years ago
- Comments:23
Top Results From Across the Web
Remove unnecessary webpack map files from the package
To do this we need to look at which browsers support the sourcemaps, (and anything else using them, need to check if tracing...
Read more >Disable source maps in Chrome DevTools - Stack Overflow
Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.
Read more >Should I Use Source Maps in Production? | CSS-Tricks
A “source map” is a special file that connects a minified/uglified version of an asset (CSS or JavaScript) to the original authored version....
Read more >How do I disable source maps in Safari? - Super User
A workaround for locally distributed vendor js files would be to edit them and modify the reference to the source map.
Read more >Troubleshooting Source Maps for JavaScript
In case the source map files do not contain your original source code ... Verify artifact distribution value matches value configured in your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marcandre This isn’t really about being part of the project, the is purely from the point of view of using the plugin in my projects. When I use it in my projects I don’t need the source map.
If I found a bug when using the plugin then I would debug it and open up an issue or if I had time a PR.
This is purely about the fact that I use parsley on pretty much every project and when I put my project live I don’t need sourcemaps!
Cool, glad to hear this. So should we close this?