leeoniya / uPlot

📈 A small, fast chart for time series, lines, areas, ohlc & bars
MIT License
8.51k stars 371 forks source link

Include un-minified uPlot.min.css in dist/ #870

Closed backspaces closed 8 months ago

backspaces commented 8 months ago

I'd like to work with the uPlot css and the minified version is a bit of a pain for that. :) So I've been grabbing the github version via:

curl https://raw.githubusercontent.com/leeoniya/uPlot/master/src/uPlot.css

It can easily be out of sync from the uPlot in node-modules

Thanks.

backspaces commented 8 months ago

Actually, I'm wrong. I noticed if I wanted to edit uPlot css, vscode un-minifies it. So I'll close this.

leeoniya commented 8 months ago

any reason you don't just add css after loading the main file to override uplot defaults?

or if you're editing it anyways, just use your own modified copy of it. that css changes very infrequently.