File tree 2 files changed +0
-10
lines changed
packages/react-scripts/config
2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeM
19
19
const getClientEnvironment = require ( './env' ) ;
20
20
const paths = require ( './paths' ) ;
21
21
22
- // @remove -on-eject-begin
23
- // `path` is not used after eject - see https://github.com/facebookincubator/create-react-app/issues/1174
24
- const path = require ( 'path' ) ;
25
- // @remove -on-eject-end
26
-
27
22
// Webpack uses `publicPath` to determine where the app is being served from.
28
23
// In development, we always serve from the root. This makes config easier.
29
24
const publicPath = '/' ;
Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
19
19
const paths = require ( './paths' ) ;
20
20
const getClientEnvironment = require ( './env' ) ;
21
21
22
- // @remove -on-eject-begin
23
- // `path` is not used after eject - see https://github.com/facebookincubator/create-react-app/issues/1174
24
- const path = require ( 'path' ) ;
25
- // @remove -on-eject-end
26
-
27
22
// Webpack uses `publicPath` to determine where the app is being served from.
28
23
// It requires a trailing slash, or the file assets will get an incorrect path.
29
24
const publicPath = paths . servedPath ;
You can’t perform that action at this time.
0 commit comments