File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ module.exports = function(webpackEnv) {
383383 ] ,
384384 } ,
385385 module : {
386- noParse : [ / i c o n v - l o a d e r \. j s $ / , / c o l o r s \. j s $ / ] , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
386+ noParse : / i c o n v - l o a d e r \. j s $ / , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
387387 strictExportPresence : true ,
388388 rules : [
389389 // Disable require.ensure as it's not a standard language feature.
Original file line number Diff line number Diff line change @@ -116,11 +116,11 @@ module.exports = function(webpackEnv) {
116116 // : {},
117117 // },
118118 {
119- // Since v2 .0.0 css-loader/locals was removed in favour of exportOnlyLocals option
119+ // In v3 .0.0 css-loader/locals was removed in favour of onlyLocals option
120120 // So adding the option here in replacement as per
121- // https://github.com/webpack-contrib/css-loader#exportonlylocals
121+ // https://github.com/webpack-contrib/css-loader/tree/v3.4.2#onlylocals
122122 loader : require . resolve ( 'css-loader' ) ,
123- options : { ...cssOptions , exportOnlyLocals : true } ,
123+ options : { ...cssOptions , onlyLocals : true } ,
124124 } ,
125125 {
126126 // Options for PostCSS as we reference these options twice
@@ -362,7 +362,7 @@ module.exports = function(webpackEnv) {
362362 ] ,
363363 } ,
364364 module : {
365- noParse : [ / i c o n v - l o a d e r \. j s $ / , / c o l o r s \. j s $ / ] , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
365+ noParse : / i c o n v - l o a d e r \. j s $ / , // https://github.com/webpack/webpack/issues/3078#issuecomment-400697407
366366 strictExportPresence : true ,
367367 rules : [
368368 // Disable require.ensure as it's not a standard language feature.
Original file line number Diff line number Diff line change @@ -32,18 +32,16 @@ verifyTypeScriptSetup();
3232// @remove -on-eject-end
3333
3434const fs = require ( 'fs' ) ;
35- const { createCompiler } = require ( 'react-dev-utils/WebpackDevServerUtils' ) ;
3635const webpack = require ( 'webpack' ) ;
37-
38- const configFactory = require ( '../config/webpack.config.ssr' ) ;
36+ const { createCompiler } = require ( 'react-dev-utils/WebpackDevServerUtils' ) ;
3937const paths = require ( '../config/paths' ) ;
38+ const configFactory = require ( '../config/webpack.config.ssr' ) ;
4039
4140const statusFile = require ( './utils/statusFile' ) ;
4241
4342const config = configFactory ( 'development' ) ;
4443const appName = require ( paths . appPackageJson ) . name ;
4544const useYarn = fs . existsSync ( paths . yarnLockFile ) ;
46-
4745const useTypeScript = fs . existsSync ( paths . appTsConfig ) ;
4846const tscCompileOnError = process . env . TSC_COMPILE_ON_ERROR === 'true' ;
4947
You can’t perform that action at this time.
0 commit comments