Browse Source

Test 3

ReviewAppsAssets
Rachael Booth 1 year ago
parent
commit
0f5f86b8be
  1. 1
      app/frontend/styles/application.scss
  2. 2
      webpack.config.js

1
app/frontend/styles/application.scss

@ -6,7 +6,6 @@
@return url("~assets/images/" + $filename); @return url("~assets/images/" + $filename);
} }
$govuk-assets-path: "/2082/assets/";
$govuk-font-url-function: frontend-font-url; $govuk-font-url-function: frontend-font-url;
$govuk-image-url-function: frontend-image-url; $govuk-image-url-function: frontend-image-url;
$govuk-global-styles: true; $govuk-global-styles: true;

2
webpack.config.js

@ -33,7 +33,7 @@ module.exports = {
}, },
{ {
test: /\.(scss|css)/i, test: /\.(scss|css)/i,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'] use: [{ loader: MiniCssExtractPlugin.loader, options: { publicPath: './' } }, 'css-loader', 'sass-loader']
} }
] ]
}, },

Loading…
Cancel
Save