linkedpipes / dcat-ap-viewer

Viewer of DCAT-AP 2.0.1 compatible dataset metadata
MIT License
6 stars 6 forks source link

Can't run with custom configuration #225

Closed skodapetr closed 3 years ago

skodapetr commented 3 years ago
/opt/dcat-ap-viewer$ HOME=/home/nginx sudo -u nginx npm run build -- -env.configFileLocation=configuration.yml
> dcat-viewer@1.0.0-alpha.0 build /opt/dcat-ap-viewer
> cross-env NODE_ENV=production webpack --config ./client/build/webpack.production.js "-env.configFileLocation=configuration.yml"
[webpack-cli] Unknown argument: -env.configFileLocation=configuration.yml
skodapetr commented 3 years ago

It seems that webpack starts to consume the input, the command need to be changed to npm run start -- --env configFileLocation=configuration.yml