Exclude *.map files from shipped extension
See original GitHub issueExtension Version: 2020.8.109390
I was looking into why Python was taking a little while to download on my machine. From a quick investigation, it looks like the datascience-ui
folder in the shipped extension contains three large .map
files:
du -ah . | sort -rh | grep '\.map'
14M ./out/client/extension.js.map.disabled
7.1M ./out/datascience-ui/notebook/commons.initial.bundle.js.map
3.4M ./out/datascience-ui/viewers/commons.initial.bundle.js.map
216K ./out/datascience-ui/notebook/nativeEditor.js.map
128K ./out/datascience-ui/notebook/interactiveWindow.js.map
8.0K ./out/datascience-ui/viewers/plotViewer.js.map
8.0K ./out/datascience-ui/viewers/dataExplorer.js.map
These should usually be excluded as they are only needed during development
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
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 >Bootstrap trying to load map file. How to disable it? Do I need ...
Open your code Inspector (right click) · Press Control+Shift+P and search "Disable JavaScript source maps" · Do same for "Disable CSS source maps" ......
Read more >TSConfig Reference - Docs on every TSConfig option
The value of extends is a string which contains a path to another configuration file to inherit from. The path may use Node.js...
Read more >SourceMapDevToolPlugin - webpack
This plugin enables more fine grained control of source map generation. ... [url] is replaced with a URL to the source map file....
Read more >Service worker configuration - Angular
The ngsw-config.json configuration file specifies which files and data URLs the ... Matches 0 or more characters excluding / ... map, Exclude all...
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
No I don’t think so. We only need them when debugging, not when getting logs from users.
We should:
If we need this for debugging, we can give users a link to the map files and instructions as to how to put it on the right place, so we get the info we need