Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Removed LoaderOptions context... does not seem to be required anymore…
Browse files Browse the repository at this point in the history
… with newest postcss-loader
  • Loading branch information
swernerx committed May 8, 2017
1 parent 29eb61b commit 530e374
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/webpack/ConfigFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function getJsLoader({ isNode, isWeb, isProd, isDev, root })
"react-intl",

// Remove prop types from our code
[ "transform-react-remove-prop-types", { removeImport : true } ],
[ "transform-react-remove-prop-types", { removeImport: true }],

// Replaces the React.createElement function with one that is
// more optimized for production.
Expand Down Expand Up @@ -668,12 +668,7 @@ function ConfigFactory({ target, mode, root = CURRENT_WORKING_DIRECTORY, ...opti

// Indicates to our loaders that they should enter into debug mode
// should they support it.
debug: true,

// Pass options for PostCSS
options: {
context: CURRENT_WORKING_DIRECTORY
}
debug: true
})
),

Expand All @@ -686,12 +681,7 @@ function ConfigFactory({ target, mode, root = CURRENT_WORKING_DIRECTORY, ...opti

// Indicates to our loaders that they should enter into debug mode
// should they support it.
debug: false,

// Pass options for PostCSS
options: {
context: CURRENT_WORKING_DIRECTORY
}
debug: false
})
),

Expand Down

0 comments on commit 530e374

Please sign in to comment.