From e32ba68c800bf5170835032fd0ac99f4b5edfcde Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 20 May 2020 11:05:11 +0100 Subject: [PATCH] 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 --- ember-cli-build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ember-cli-build.js b/ember-cli-build.js index e98fa1e7e..622d90291 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -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()