build: fix error in the ts-compile-doc-change
step (#35258)
build: fix error in the ts-compile-doc-change step
Fixes the following error: 1287168 (step-103-29)
```sh
$ webpack --config build/webpack/webpack.config.asar.js --output-filename=asar.js --output-path=./.tmp --env.mode=development
[webpack-cli] Error: Unknown option '--env.mode=development'
[webpack-cli] Run 'webpack --help' to see available commands and options
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```
This probably started happening because of the recent webpack upgrade
in https://github.com/electron/electron/pull/34990.
Signed-off-by: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
0400eb2e60
commit
f3dbdaaf33
1 changed files with 1 additions and 1 deletions
|
@ -990,7 +990,7 @@ step-ts-compile: &step-ts-compile
|
||||||
do
|
do
|
||||||
out="${f:29}"
|
out="${f:29}"
|
||||||
if [ "$out" != "base.js" ]; then
|
if [ "$out" != "base.js" ]; then
|
||||||
node script/yarn webpack --config $f --output-filename=$out --output-path=./.tmp --env.mode=development
|
node script/yarn webpack --config $f --output-filename=$out --output-path=./.tmp --env mode=development
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue