Skip to content

Commit 42b848d

Browse files
Fix bug in prod build webpack config; add symlink dir to babel not lint
1 parent f507ce9 commit 42b848d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module.exports = {
151151
loader: require.resolve('eslint-loader'),
152152
},
153153
],
154-
include: [paths.appSrc, fs.realpathSync(paths.appSrc+'/solr-faceted-search-react')],
154+
include: paths.appSrc,
155155
},
156156
{
157157
// "oneOf" will traverse all following loaders until one will
@@ -171,7 +171,7 @@ module.exports = {
171171
// Process JS with Babel.
172172
{
173173
test: /\.(js|jsx|mjs)$/,
174-
include: paths.appSrc,
174+
include: [paths.appSrc, fs.realpathSync(paths.appSrc+'/solr-faceted-search-react')],
175175
loader: require.resolve('babel-loader'),
176176
options: {
177177
// @remove-on-eject-begin

0 commit comments

Comments
 (0)