Skip to content

Exclude *.map files from shipped extension #13961

@mjbvz

Description

@mjbvz

Extension 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-diagnosticsLogging/Features to facilitate diagnosing user problemsbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onpartner ask

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions