visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.88k stars 315 forks source link

Request: Remove all sourceMappingURL's from Standalone build #410

Closed melloware closed 4 years ago

melloware commented 4 years ago

The Standalone MIN build goes from 555K down to 483K just by removing the sourceMappingURL's from the JS and CSS.

I don't think these should be part of the Standalone MIN build.

yotamberk commented 4 years ago

Can you submit a PR with this change?

yotamberk commented 4 years ago

This should be applied in vis-dev-utils here: https://github.com/visjs/vis-dev-utils/blob/master/src/module/generate-rollup-configuration/index.ts

yotamberk commented 4 years ago

(basically, any time the *.min.* file is generated, add sourceMap: false to the output bundle generated)

melloware commented 4 years ago

This is fixed with: https://github.com/visjs/vis-timeline/pull/483