Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

import maplibre css correctly

Michael Rademakere5059cb8367b
diff --git a/ui/util/webpack.util.js b/ui/util/webpack.util.js
index 6394e3187..7b97a303e 100644
--- a/ui/util/webpack.util.js
+++ b/ui/util/webpack.util.js
@@ -21,12 +21,12 @@ function getAppConfig(mode, isDevServer, dirname, managerUrl, keycloakUrl) {
module: {
rules: [
{
- test: /(mapbox|@material).*\.css$/, //output mapbox and material css as strings
+ test: /(maplibre|mapbox|@material).*\.css$/, //output mapbox and material css as strings
type: "asset/source"
},
{
test: /\.css$/, //
- exclude: /(mapbox|@material).*\.css$/,
+ exclude: /(maplibre|mapbox|@material).*\.css$/,
use: [
{ loader: "css-loader" }
]