Closed sebastianpikand closed 3 years ago
absolutely no idea why this happened but the problem disappeared after I pruned my docker volumes...
Actually found the issue and has probably nothing to do with docker.
The error should be easily reproducible. One older project used "dotenv-webpack": "^2.0.0",
, however, in this bug report I have used "dotenv-webpack": "^3.0.0",
which breaks the build process.
@sebastianpikand glad you sourced the problem. I would close this issue though as the issue lies with dotenv-webpack
and it can only be fixed there.
Hi. I am not using Terser directly, don't know which package is using either, but will try to do my best to explain the issue.
package.json
.babelrc
webpack.config.js
the error I get
Running
"build:development": "npm-run-all --sequential clean compile:development --parallel",
works fine (i.e. building for non-production env), whilst running"build:production": "npm-run-all --sequential clean compile:production --parallel",
produces the error.How should I go about it and from where exactly is the problem coming? Can't open ./main.[hash].js to inspect line of error, as the file is not created.