Skip to content

Commit

Permalink
feat: Add autoprefixer support
Browse files Browse the repository at this point in the history
  • Loading branch information
reintroducing committed Jul 25, 2020
1 parent 4ca2429 commit f970324
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 11 deletions.
2 changes: 2 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
.BundleAnalyzerPlugin;
const autoprefixer = require('autoprefixer');
const dartSass = require('sass');
const eslintFriendlyFormatter = require('eslint-friendly-formatter');
const postCssImport = require('postcss-import');
Expand Down Expand Up @@ -117,6 +118,7 @@ module.exports = (mode = 'development') => {
loader: 'postcss-loader',
options: {
plugins: [
autoprefixer(),
postCssImport(),
flexbugsFixes(),
postcssPresetEnv(),
Expand Down
91 changes: 80 additions & 11 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"dependencies": {
"@hot-loader/react-dom": "16.13.0",
"arg": "4.1.3",
"autoprefixer": "9.8.5",
"babel-loader": "8.1.0",
"chalk": "4.1.0",
"cosmiconfig": "6.0.0",
Expand Down

0 comments on commit f970324

Please sign in to comment.