Last active
September 14, 2020 16:46
-
-
Save arijitMondal/faf88bf2da739d9e5ac520b4a49f3392 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin') | |
module.exports = { | |
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => { | |
config.plugins.push(new DuplicatePackageCheckerPlugin()) | |
return config | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment