@@ -86,7 +86,8 @@ module.exports = {
86
86
ownNodeModules : resolveApp ( 'node_modules' ) ,
87
87
nodePaths : nodePaths ,
88
88
publicUrl : getPublicUrl ( resolveApp ( 'package.json' ) ) ,
89
- servedPath : getServedPath ( resolveApp ( 'package.json' ) )
89
+ servedPath : getServedPath ( resolveApp ( 'package.json' ) ) ,
90
+ webpackConfig : resolveApp ( 'webpack.config.js' ) ,
90
91
} ;
91
92
92
93
// @remove -on-eject-begin
@@ -109,7 +110,8 @@ module.exports = {
109
110
ownNodeModules : resolveOwn ( '../node_modules' ) ,
110
111
nodePaths : nodePaths ,
111
112
publicUrl : getPublicUrl ( resolveApp ( 'package.json' ) ) ,
112
- servedPath : getServedPath ( resolveApp ( 'package.json' ) )
113
+ servedPath : getServedPath ( resolveApp ( 'package.json' ) ) ,
114
+ webpackConfig : resolveApp ( 'webpack.config.js' ) ,
113
115
} ;
114
116
115
117
// config before publish: we're in ./packages/react-scripts/config/
@@ -127,7 +129,8 @@ if (__dirname.indexOf(path.join('packages', 'react-scripts', 'config')) !== -1)
127
129
ownNodeModules : resolveOwn ( '../node_modules' ) ,
128
130
nodePaths : nodePaths ,
129
131
publicUrl : getPublicUrl ( resolveOwn ( '../package.json' ) ) ,
130
- servedPath : getServedPath ( resolveOwn ( '../package.json' ) )
132
+ servedPath : getServedPath ( resolveOwn ( '../package.json' ) ) ,
133
+ webpackConfig : resolveApp ( '../template/webpack.config.js' ) ,
131
134
} ;
132
135
}
133
136
// @remove -on-eject-end
0 commit comments