Skip to content

Commit

Permalink
chore: enable css grid fallbacks and show unminified CSS in non-produ…
Browse files Browse the repository at this point in the history
…ction environments
  • Loading branch information
kaseybon committed Dec 17, 2019
1 parent 9f5e461 commit dd04e64
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 13 deletions.
41 changes: 30 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const autoprefixer = require('autoprefixer');

module.exports = {
plugins: [require('autoprefixer')]
plugins: [autoprefixer({grid: true})]
};
7 changes: 6 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ module.exports = {
},
{
loader: 'sass-loader',
options: { sourceMap: !PRODUCTION }
options: {
sourceMap: !PRODUCTION,
sassOptions: {
outputStyle: PRODUCTION ? 'compressed' : 'expanded'
}
}
}
]
},
Expand Down

0 comments on commit dd04e64

Please sign in to comment.