Skip to content

Commit 282eb52

Browse files
alan-agius4hansl
authored andcommitted
refactor: use buildOptions directly
1 parent 1d5d515 commit 282eb52

File tree

1 file changed

+2
-2
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+2
-2
lines changed

packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/styles.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
4545
// Determine hashing format.
4646
const hashFormat = getOutputHashFormat(buildOptions.outputHashing as string);
4747
// Convert absolute resource URLs to account for base-href and deploy-url.
48-
const baseHref = wco.buildOptions.baseHref || '';
49-
const deployUrl = wco.buildOptions.deployUrl || '';
48+
const baseHref = buildOptions.baseHref || '';
49+
const deployUrl = buildOptions.deployUrl || '';
5050
const resourcesOutputPath = buildOptions.resourcesOutputPath || '';
5151

5252
const postcssPluginCreator = function (loader: webpack.loader.LoaderContext) {

0 commit comments

Comments
 (0)