Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
const browserBuilder = new BrowserBuilder(this.context);
const webpackConfig = browserBuilder.buildWebpackConfig(
root, projectRoot, host, browserOptions);
const webpackCompiler = webpack(webpackConfig);
const statsConfig = getWebpackStatsConfig(browserOptions.verbose);

let webpackDevServerConfig: WebpackDevServerConfigurationOptions;
Expand Down Expand Up @@ -169,6 +168,7 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
**
`);

const webpackCompiler = webpack(webpackConfig);
const server = new WebpackDevServer(webpackCompiler, webpackDevServerConfig);

let first = true;
Expand Down