mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Fixing stupid minification bug
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user