Fix build
This commit is contained in:
parent
584b053a23
commit
4c95815dc8
2 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue