1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

updated formatting

This commit is contained in:
Kyle Spearrin
2020-05-08 11:54:49 -04:00
parent 97db3635af
commit 3ac46e62cb

View File

@@ -43,8 +43,8 @@ const moduleRules = [
options: { options: {
name: '[name].[ext]', name: '[name].[ext]',
outputPath: 'images/', outputPath: 'images/',
} },
}] }],
}, },
{ {
test: /\.scss$/, test: /\.scss$/,
@@ -53,10 +53,10 @@ const moduleRules = [
loader: MiniCssExtractPlugin.loader, loader: MiniCssExtractPlugin.loader,
options: { options: {
publicPath: '../', publicPath: '../',
} },
}, },
'css-loader', 'css-loader',
'sass-loader' 'sass-loader',
], ],
}, },
// Hide System.import warnings. ref: https://github.com/angular/angular/issues/21560 // Hide System.import warnings. ref: https://github.com/angular/angular/issues/21560
@@ -102,7 +102,7 @@ const plugins = [
]), ]),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: '[name].[hash].css', filename: '[name].[hash].css',
chunkFilename: '[id].[hash].css' chunkFilename: '[id].[hash].css',
}), }),
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': { 'process.env': {
@@ -193,4 +193,4 @@ const config = {
plugins: plugins, plugins: plugins,
}; };
module.exports = config; module.exports = config;