Merge pull request #4009 from dmitrylyzo/fix-legacy-1

This commit is contained in:
Bill Thornton
2022-10-08 16:57:08 -04:00
committed by GitHub
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
module.exports = {
preset: [
'default',
// Turn off `mergeLonghand` because it combines `padding-*` and `margin-*`,
// breaking fallback styles.
// https://github.com/cssnano/cssnano/issues/1163
// https://github.com/cssnano/cssnano/issues/1192
{ mergeLonghand: false }
]
};
+1 -1
View File
@@ -121,7 +121,7 @@ const config = {
},
{
test: /\.(js|jsx)$/,
exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked|react-router|screenfull)/,
exclude: /node_modules[\\/](?!@uupaa[\\/]dynamic-import-polyfill|@remix-run[\\/]router|blurhash|date-fns|epubjs|flv.js|libarchive.js|marked|react-router|screenfull)/,
use: [{
loader: 'babel-loader',
options: {