do not add source map comments by default #908
Replies: 4 comments 5 replies
-
Also |
Beta Was this translation helpful? Give feedback.
-
Interesting. Yes that’s definitely not expected behavior by default. Can you confirm which files those are in? I am seeing that if source map URLs are already present in the npm packages ( |
Beta Was this translation helpful? Give feedback.
-
Ah, yes it seems to just be for firebase and lit-html, so yeah snowpack is not doing it, sorry. Below is all the 404s getting logged.
|
Beta Was this translation helpful? Give feedback.
-
I have the following {
"mount": {
"src": "/"
},
"plugins": [],
"installOptions": { "sourceMap": true }
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Generating source maps is turned off by default according to the docs, however
npx snowpack install
will still add source map comment lines like://# sourceMappingURL=index.js.map
This causes browsers to log warnings when they try and fetch source maps that don't exist.
Beta Was this translation helpful? Give feedback.
All reactions