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:
Kevin Ansfield 2020-05-20 11:05:11 +01:00
parent a5fa4074e2
commit e32ba68c80
1 changed files with 4 additions and 0 deletions

View File

@ -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()