Skip to content

Commit bb49188

Browse files
committed
Fix lint
1 parent 8101126 commit bb49188

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeM
1919
const getClientEnvironment = require('./env');
2020
const paths = require('./paths');
2121

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-
2722
// Webpack uses `publicPath` to determine where the app is being served from.
2823
// In development, we always serve from the root. This makes config easier.
2924
const publicPath = '/';

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
1919
const paths = require('./paths');
2020
const getClientEnvironment = require('./env');
2121

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-
2722
// Webpack uses `publicPath` to determine where the app is being served from.
2823
// It requires a trailing slash, or the file assets will get an incorrect path.
2924
const publicPath = paths.servedPath;

0 commit comments

Comments
 (0)