File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,6 @@ module.exports = function(webpackEnv) {
102102 preProcessorOptions = { }
103103 ) => {
104104 const loaders = [
105- isEnvProduction && {
106- loader : MiniCssExtractPlugin . loader ,
107- options : Object . assign (
108- { } ,
109- shouldUseRelativeAssetPaths ? { publicPath : '../../' } : undefined
110- ) ,
111- } ,
112105 {
113106 loader : require . resolve ( 'css-loader/locals' ) ,
114107 options : cssOptions ,
@@ -683,14 +676,6 @@ module.exports = function(webpackEnv) {
683676 // See https://github.com/facebook/create-react-app/issues/186
684677 isEnvDevelopment &&
685678 new WatchMissingNodeModulesPlugin ( paths . appNodeModules ) ,
686- isEnvProduction &&
687- new MiniCssExtractPlugin ( {
688- // Options similar to the same options in webpackOptions.output
689- // both options are optional
690- // filename: 'static/css/[name].[contenthash:8].css',
691- filename : 'ssr.css' ,
692- // chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',
693- } ) ,
694679 // Generate a manifest file which contains a mapping of all asset filenames
695680 // to their corresponding output file so that tools can pick it up without
696681 // having to parse `index.html`.
You can’t perform that action at this time.
0 commit comments