Skip to content

Commit 0374126

Browse files
andykenwardmorgs32
authored andcommitted
webpack no need for ident if using complex options anymore (facebook#2430)
Since `v2.2.1` of webpack the need for `ident` for complex options is no longer required. See https://webpack.js.org/guides/migrating/#complex-options
1 parent d6c4320 commit 0374126

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ module.exports = {
217217
{
218218
loader: require.resolve('postcss-loader'),
219219
options: {
220-
ident: 'postcss', // https://webpack.js.org/guides/migrating/#complex-options
221220
plugins: () => [
222221
require('postcss-flexbugs-fixes'),
223222
autoprefixer({

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

-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ module.exports = {
223223
{
224224
loader: require.resolve('postcss-loader'),
225225
options: {
226-
ident: 'postcss', // https://webpack.js.org/guides/migrating/#complex-options
227226
plugins: () => [
228227
require('postcss-flexbugs-fixes'),
229228
autoprefixer({

0 commit comments

Comments
 (0)