Skip to content

Commit

Permalink
refactor: use buildOptions directly
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and hansl committed Nov 16, 2018
1 parent 1d5d515 commit 282eb52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
// Determine hashing format.
const hashFormat = getOutputHashFormat(buildOptions.outputHashing as string);
// Convert absolute resource URLs to account for base-href and deploy-url.
const baseHref = wco.buildOptions.baseHref || '';
const deployUrl = wco.buildOptions.deployUrl || '';
const baseHref = buildOptions.baseHref || '';
const deployUrl = buildOptions.deployUrl || '';
const resourcesOutputPath = buildOptions.resourcesOutputPath || '';

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

0 comments on commit 282eb52

Please sign in to comment.