grafana/pkg/api/webassets
Jack Westbrook cfb46c8003
Frontend: Extract CSS imports into files (#94655)
* build(webpack): extract css imports into files including node_modules

* feat(webassets): add cssfiles to entrypoint assets for extracted css files

* feat(views): add entrypoint css link tags to html templates

* feat(webassets): set CDN prefix for CSS files

* test(webassets): trim down sample-assets-manifest, fix failing snapshot tests

* Update pkg/api/webassets/webassets_test.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* build(webpack): remove css module loader

---------

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2024-10-16 11:10:34 +02:00
..
testdata Frontend: Extract CSS imports into files (#94655) 2024-10-16 11:10:34 +02:00
webassets_test.go Frontend: Extract CSS imports into files (#94655) 2024-10-16 11:10:34 +02:00
webassets.go Frontend: Extract CSS imports into files (#94655) 2024-10-16 11:10:34 +02:00