Remove autoprefixer

This commit is contained in:
Timothy Warren 2018-05-01 16:20:49 -04:00
parent c2426baa1a
commit da94a5ac68
4 changed files with 3 additions and 44 deletions

View File

@ -1,6 +1,5 @@
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
@ -150,7 +149,6 @@ module.exports = {
cacheDirectory: true,
},
},
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader turns CSS into JS modules that inject <style> tags.
// In production, we use a plugin to extract that CSS to a file, but
@ -173,15 +171,6 @@ module.exports = {
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 11',
],
flexbox: 'no-2009',
}),
],
},
},

View File

@ -1,6 +1,5 @@
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
@ -148,7 +147,6 @@ module.exports = {
},
},
// The notation here is somewhat confusing.
// "postcss" loader applies autoprefixer to our CSS.
// "css" loader resolves paths in CSS and adds assets as dependencies.
// "style" loader normally turns CSS into JS modules injecting <style>,
// but unlike in development configuration, we do something different.
@ -187,15 +185,6 @@ module.exports = {
ident: 'postcss',
plugins: () => [
require('postcss-flexbugs-fixes'),
autoprefixer({
browsers: [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 11',
],
flexbox: 'no-2009',
}),
],
},
},

View File

@ -19,7 +19,6 @@
"ws": "^5.1.1"
},
"devDependencies": {
"autoprefixer": "^8.2.0",
"babel-core": "6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.3",

View File

@ -454,17 +454,6 @@ autoprefixer@^6.3.1:
postcss "^5.2.16"
postcss-value-parser "^3.2.3"
autoprefixer@^8.2.0:
version "8.3.0"
resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.3.0.tgz#22ac5151c3c8946bb8f75f337d5c5042c0ec6404"
dependencies:
browserslist "^3.2.4"
caniuse-lite "^1.0.30000830"
normalize-range "^0.1.2"
num2fraction "^1.2.2"
postcss "^6.0.21"
postcss-value-parser "^3.2.3"
aws-sign2@~0.7.0:
version "0.7.0"
resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
@ -1307,13 +1296,6 @@ browserslist@^2.1.2:
caniuse-lite "^1.0.30000792"
electron-to-chromium "^1.3.30"
browserslist@^3.2.4:
version "3.2.5"
resolved "https://registry.npmjs.org/browserslist/-/browserslist-3.2.5.tgz#aa46a5ea33b5330178f3c91cfd85e148fcb57080"
dependencies:
caniuse-lite "^1.0.30000830"
electron-to-chromium "^1.3.42"
bser@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"
@ -1470,7 +1452,7 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000830"
resolved "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000830.tgz#6e45255b345649fd15ff59072da1e12bb3de2f13"
caniuse-lite@^1.0.30000792, caniuse-lite@^1.0.30000830:
caniuse-lite@^1.0.30000792:
version "1.0.30000830"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000830.tgz#cb96b8a2dd3cbfe04acea2af3c4e894249095328"
@ -2478,7 +2460,7 @@ electron-publish@20.9.0:
lazy-val "^1.0.3"
mime "^2.3.1"
electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30, electron-to-chromium@^1.3.42:
electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30:
version "1.3.42"
resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.42.tgz#95c33bf01d0cc405556aec899fe61fd4d76ea0f9"
@ -6141,7 +6123,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6"
supports-color "^3.2.3"
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.21:
postcss@^6.0.0, postcss@^6.0.1:
version "6.0.21"
resolved "https://registry.npmjs.org/postcss/-/postcss-6.0.21.tgz#8265662694eddf9e9a5960db6da33c39e4cd069d"
dependencies: