Build: Fix failing CSS asset paths (#95380)

* build(webpack): set publicpath and process urls to resolve assets correctly

* build(webpack): add back --progress to build

* Add local cdn

(cherry picked from commit 7a19523fa476fd5ff2d7669d116f5be462b100f5)

* chore(devenv): fix local_cdn path in ngnix conf

* chore(codeowners): add frontend-ops as owners of local_cdn docker block

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
This commit is contained in:
Jack Westbrook
2024-10-25 13:45:44 +02:00
committed by GitHub
parent d0e124e2f9
commit e894b19c1a
7 changed files with 45 additions and 4 deletions

View File

@ -7,7 +7,12 @@ module.exports = function (options) {
return {
test: /\.(sa|sc|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: MiniCssExtractPlugin.loader,
options: {
publicPath: './',
},
},
{
loader: 'css-loader',
options: {