Fixing stupid minification bug

This commit is contained in:
Jake Archibald
2018-10-29 16:48:44 +00:00
parent fa731dc7d5
commit fa584e3647
2 changed files with 2 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ snack-bar {
transform-origin: center;
color: #eee;
z-index: 100;
pointer-events: none;
cursor: default;
will-change: transform;
animation: snackbar-show 300ms ease forwards 1;
@@ -75,7 +74,6 @@ snack-bar {
font-size: 100%;
text-transform: uppercase;
text-align: center;
pointer-events: all;
cursor: pointer;
overflow: hidden;
transition: background-color 200ms ease;

View File

@@ -108,7 +108,7 @@ module.exports = function (_, env) {
loader: 'typings-for-css-modules-loader',
options: {
modules: true,
localIdentName: '[local]__[hash:base64:5]',
localIdentName: isProd ? '[hash:base64:5]' : '[local]__[hash:base64:5]',
namedExport: true,
camelCase: true,
importLoaders: 1,
@@ -202,6 +202,7 @@ module.exports = function (_, env) {
cssProcessorOptions: {
zindex: false,
discardComments: { removeAll: true }
counterStyle: false,
}
}),