Merge pull request #4009 from dmitrylyzo/fix-legacy-1
This commit is contained in:
commit
a77b003817
2 changed files with 11 additions and 1 deletions
10
cssnano.config.js
Normal file
10
cssnano.config.js
Normal 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 }
|
||||||
|
]
|
||||||
|
};
|
|
@ -121,7 +121,7 @@ const config = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(js|jsx)$/,
|
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: [{
|
use: [{
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue