-
Notifications
You must be signed in to change notification settings - Fork 20
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
Disable generating SourceMaps? #104
Comments
@nathantreid — Sorry... any help on the above? Thanks! |
Sorry about the slow response! This isn't currently a customizable option; I'll look into it when I get a chance, but in the meantime if you want to change it in a local copy of the package, it's probably coming from here. |
No worries @nathantreid — thanks for the reply. I'll look into running a customised local package at some point. Cheers. |
Hey guys, I am getting this warnings too. How could i change it in local package? Don't u propose me to go to node_modules folder?)) |
Like the OP, I'm seeing the "DevTools failed to parse SourceMap: http://localhost:3000/url/of/the/page/currently/being/viewed/minus/the/last/part/MyComponent.css.map" messages in Chrome. Rather than disabling sourceMaps, though, I'd like to get them working :-) I'm not sure at which URL they're supposed to be available, but with the current |
Hi @nathantreid forked the package in order to work on this issue but when I use the local version (which I generated by ./prepare.sh) it downgrades to 2.8 from 3.0 and installs other npm packages which were not previously installed. Any recommendations? Thanks |
You can update the version number in Let me know if you have any more questions! |
@cdolek I believe this issue has been fixed in v3.0.1. Please give it a shot! |
The
sourceMappingUrl
comment that is added to the bottom of our styles (that appear in the HTML head) doesn't actually resolve to a proper source map.I'm using
babel-plugin-react-css-modules
instead ofreact-css-modules
, which means I simply import my styles without declaring a reference in my React components, and it maps thestyleName
prop to the imported SCSS stylesheet:import 'App.scss'
Can you tell me if there is a way to disable these source maps entirely? It basically means we end up with tons of "Failed to parse SourceMap" errors in the browser console:
As well as being able to disable these (I tried running Meteor in production mode and they are still generated), is there any way to resolve the broken source map references?
Thanks!
The text was updated successfully, but these errors were encountered: