Fix build

This commit is contained in:
Andras Schmelczer 2026-05-09 11:32:48 +01:00
parent 584b053a23
commit 4c95815dc8
2 changed files with 9 additions and 2 deletions

View file

@ -52,7 +52,7 @@ services:
screenshot: screenshot:
init: true init: true
build: /volumes/syncthing/Projects/property-map/screenshot build: ./screenshot
environment: environment:
PORT: "8002" PORT: "8002"
APP_URL: http://frontend:3001 APP_URL: http://frontend:3001

View file

@ -46,7 +46,14 @@ module.exports = (env, argv) => {
test: /\.css$/, test: /\.css$/,
use: [ use: [
isProduction ? MiniCssExtractPlugin.loader : 'style-loader', isProduction ? MiniCssExtractPlugin.loader : 'style-loader',
'css-loader', {
loader: 'css-loader',
options: {
url: {
filter: (url) => !url.startsWith('/'),
},
},
},
'postcss-loader', 'postcss-loader',
], ],
}, },