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

View File

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