Skip to content

Instantly share code, notes, and snippets.

@arijitMondal
Last active September 14, 2020 16:49
Show Gist options
  • Save arijitMondal/a922a951bac355b9e676bc8c19ba1a80 to your computer and use it in GitHub Desktop.
Save arijitMondal/a922a951bac355b9e676bc8c19ba1a80 to your computer and use it in GitHub Desktop.
const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin')
module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.plugins.push(new DuplicatePackageCheckerPlugin())
config.resolve.alias['fast-deep-equal'] = path.resolve(
__dirname,
'node_modules',
'fast-deep-equal'
)
return config
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment