Rule Index

List of the error codes
E1001Duplicate Packages
E1002Default Import Check
E1003Loader Performance Optimization
E1004ECMA Version Check
E1001Duplicate Packages
bundle

Description

there is a same name package which bundled more than one version in your application.

it is not good to the bundle size of your application.

General Solution

add an entry in resolve.alias which will configure Webpack to route any package references to a single specified path.

For example, if lodash is duplicated in your bundle, the following configuration would render all Lodash imports to always refer to the lodash instance found at ./node_modules/lodash:

{ alias: { lodash: path.resolve(__dirname, 'node_modules/lodash') } }