mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed missing CSS styles in production builds
no issue - some styles such as `border: none` inside `.gh-btn-white` were being stripped when ran through `clean-css` leading to visual differences between development and production - disabled `ember-cli`'s default CSS minification as we already use `cssnano` for minification in our postcss pipeline for both dev and prod builds
This commit is contained in:
parent
4f2ed1bcec
commit
055674af77
1 changed files with 4 additions and 0 deletions
|
@ -145,6 +145,10 @@ module.exports = function (defaults) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
minifyCSS: {
|
||||||
|
// postcss already handles minification and this was stripping required CSS
|
||||||
|
enabled: false
|
||||||
|
},
|
||||||
nodeAssets: {
|
nodeAssets: {
|
||||||
codemirror: codemirrorAssets(),
|
codemirror: codemirrorAssets(),
|
||||||
simplemde: simplemdeAssets()
|
simplemde: simplemdeAssets()
|
||||||
|
|
Loading…
Add table
Reference in a new issue