mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 00:18:13 +08:00
Remove unused require for getCacheIdentifier after ejecting (#5317)
This commit is contained in:
@@ -20,8 +20,10 @@ const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent')
|
||||
const getClientEnvironment = require('./env');
|
||||
const paths = require('./paths');
|
||||
const ManifestPlugin = require('webpack-manifest-plugin');
|
||||
const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
|
||||
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
|
||||
// @remove-on-eject-begin
|
||||
const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
|
||||
// @remove-on-eject-end
|
||||
|
||||
// Webpack uses `publicPath` to determine where the app is being served from.
|
||||
// In development, we always serve from the root. This makes config easier.
|
||||
|
||||
@@ -24,8 +24,10 @@ const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
||||
const getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');
|
||||
const paths = require('./paths');
|
||||
const getClientEnvironment = require('./env');
|
||||
const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
|
||||
const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
|
||||
// @remove-on-eject-begin
|
||||
const getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
|
||||
// @remove-on-eject-end
|
||||
|
||||
// Webpack uses `publicPath` to determine where the app is being served from.
|
||||
// It requires a trailing slash, or the file assets will get an incorrect path.
|
||||
|
||||
Reference in New Issue
Block a user