Provide non-minified distribution
See original GitHub issueThe current way VegaLite distributed is by including minified version only
<script src="https://cdn.jsdelivr.net/npm/vega@5.9.0"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@4.0.2"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6.2.1"></script>
If error thrown (like example below), it’s very hard to figure out what’s went wrong
ERROR TypeError: Cannot read property 'length' of undefined
at vega-5.9.0.js:1
at Array.reduce (<anonymous>)
at vega-5.9.0.js:1
at Array.forEach (<anonymous>)
at Mt (vega-5.9.0.js:1)
at Lr.Ur.visit (vega-5.9.0.js:1)
at nu.ot.transform (vega-5.9.0.js:1)
at nu.Kr.evaluate (vega-5.9.0.js:1)
at nu.Kr.run (vega-5.9.0.js:1)
at wB.Jr.evaluate (vega-5.9.0.js:1)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What is Minification | Why minify JS, HTML, CSS files - Imperva
Minification is the process of minimizing code and markup in your web pages and script files. It's one of the main methods used...
Read more >Provide unminified distribution files · Issue #136 - GitHub
Unminified distribution files should be provided in the dist folder for those who want to bundle and minify themselves.
Read more >Distribute non-minified highlight.js (#1173) · Issues · GNOME ...
If a JavaScript library typically is shipped as minified or compiled code, it MUST be compiled or minified as part of the RPM...
Read more >What is Minification? Minify Code Definition & Meaning⚔️
Minification is a process of eradicating or eliminating all pointless characters from the whole code. How does it work? Minification methods and tools....
Read more >How does Javascript minification process comply with ...
Most JS used on the internet is minified before publication, and this process normally removes all comments, including copyright notices, along ...
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
Guide is in https://github.com/vega/vega-lite/pull/5725
For example, you can load non-minified Vega-Lite with:
I’ll add a debugging guide in a follow-up pull request.