mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03: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
@ -145,6 +145,10 @@ module.exports = function (defaults) {
|
||||
}
|
||||
}
|
||||
},
|
||||
minifyCSS: {
|
||||
// postcss already handles minification and this was stripping required CSS
|
||||
enabled: false
|
||||
},
|
||||
nodeAssets: {
|
||||
codemirror: codemirrorAssets(),
|
||||
simplemde: simplemdeAssets()
|
||||
|
Loading…
Reference in New Issue
Block a user