Skip to content

Commit

Permalink
fix(react): pass configuration from context when reading build target…
Browse files Browse the repository at this point in the history
… options

Closes #7924
  • Loading branch information
jaysoo authored and Jack Hsu committed Apr 1, 2022
1 parent 43eee23 commit 8a74fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/web/src/executors/dev-server/dev-server.impl.ts
Expand Up @@ -108,6 +108,9 @@ function getBuildOptions(
context: ExecutorContext
): WebWebpackExecutorOptions {
const target = parseTargetString(options.buildTarget);

target.configuration ??= '';

const overrides: Partial<WebWebpackExecutorOptions> = {
watch: false,
};
Expand Down

0 comments on commit 8a74fc4

Please sign in to comment.