From 0a6404dcb9dead97064d7b5c1ac5c2100f5b11bb Mon Sep 17 00:00:00 2001 From: Ilona Podliashanyk Date: Mon, 4 Mar 2024 14:22:25 +0100 Subject: [PATCH] Fix loading of assets --- python/nav/web/static/js/webpack.sass.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/nav/web/static/js/webpack.sass.config.js b/python/nav/web/static/js/webpack.sass.config.js index b571368f23..40d1133cfb 100644 --- a/python/nav/web/static/js/webpack.sass.config.js +++ b/python/nav/web/static/js/webpack.sass.config.js @@ -20,7 +20,6 @@ const config = { output: { path: path.join(__dirname, '../css'), clean: true, - chunkLoading: 'async-node', }, devServer: { open: true, @@ -38,7 +37,7 @@ const config = { }, { test: /\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i, - type: 'asset/inline', + type: 'asset' }, ], },