Skip to content

Commit

Permalink
fix(*): use shared browserlist config for all tools
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebenSieben committed Jul 3, 2018
1 parent 1d549fb commit d8515f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions postcss.js
Expand Up @@ -38,9 +38,7 @@ function getConfig(mq, path = [], resolve) {
require('postcss-calc')(),
require('postcss-color-function')(),
require('postcss-nested')(),
require('autoprefixer')({
browsers: require('./supporting-browsers')
}),
require('autoprefixer')(),
require('postcss-inherit')
]
};
Expand Down
3 changes: 2 additions & 1 deletion webpack.development.js
@@ -1,9 +1,10 @@
process.env.BROWSERSLIST_CONFIG = process.env.BROWSERSLIST_CONFIG || require.resolve('./.browserslistrc');

const webpack = require('webpack');
const path = require('path');
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');


module.exports = {
devtool: 'inline-eval-source-map',
module: {
Expand Down
2 changes: 2 additions & 0 deletions webpack.production-builder.js
@@ -1,3 +1,5 @@
process.env.BROWSERSLIST_CONFIG = process.env.BROWSERSLIST_CONFIG || require.resolve('./.browserslistrc');

const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CompressionPlugin = require('compression-webpack-plugin');
Expand Down

0 comments on commit d8515f8

Please sign in to comment.