Skip to content

Commit 8974175

Browse files
committed
Remove postcss-import
1 parent a673770 commit 8974175

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

packages/react-scripts/config/webpack.config.dev.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
var path = require('path');
1313
var cssnext = require('postcss-cssnext');
14-
var postcssImport = require("postcss-import");
1514
var webpack = require('webpack');
1615
var HtmlWebpackPlugin = require('html-webpack-plugin');
1716
var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
@@ -174,10 +173,6 @@ module.exports = {
174173
// We use PostCSS for cssnext
175174
postcss: function() {
176175
return [
177-
postcssImport({
178-
root: "./src/",
179-
path: "./src/"
180-
}),
181176
cssnext({
182177
browsers: [
183178
'>1%',

packages/react-scripts/config/webpack.config.prod.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
var path = require('path');
1313
var cssnext = require('postcss-cssnext');
14-
var postcssImport = require('postcss-import');
1514
var webpack = require('webpack');
1615
var HtmlWebpackPlugin = require('html-webpack-plugin');
1716
var ExtractTextPlugin = require('extract-text-webpack-plugin');
@@ -193,7 +192,6 @@ module.exports = {
193192
// We use PostCSS for autoprefixing only.
194193
postcss: function() {
195194
return [
196-
postcssImport(),
197195
cssnext({
198196
browsers: [
199197
'>1%',

packages/react-scripts/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"object-assign": "4.1.0",
5555
"path-exists": "2.1.0",
5656
"postcss-cssnext": "2.8.0",
57-
"postcss-import": "8.2.0",
5857
"postcss-loader": "1.0.0",
5958
"promise": "7.1.1",
6059
"react-dev-utils": "^0.3.0",
@@ -108,7 +107,6 @@
108107
"object-assign",
109108
"path-exists",
110109
"postcss-cssnext",
111-
"postcss-import",
112110
"postcss-loader",
113111
"promise",
114112
"react-dev-utils",

0 commit comments

Comments
 (0)