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 12c0e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/executors/dev-server/dev-server.impl.ts
Expand Up @@ -107,7 +107,7 @@ function getBuildOptions(
options: WebDevServerOptions,
context: ExecutorContext
): WebWebpackExecutorOptions {
const target = parseTargetString(options.buildTarget);
const target = parseTargetString(`${options.buildTarget}:${context.configurationName}`);
const overrides: Partial<WebWebpackExecutorOptions> = {
watch: false,
};
Expand Down

0 comments on commit 12c0e26

Please sign in to comment.