Skip to content

Commit

Permalink
chore: remove unused dedupe options
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Aug 20, 2020
1 parent 60978f2 commit 56ed425
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Gulpfile.js
Expand Up @@ -140,17 +140,9 @@ function buildRollup(packages) {
rollupNodeResolve({
browser: nodeResolveBrowser,
preferBuiltins: true,
//todo: When Yarn workspaces is enabled, remove `dedupe` option
//todo: remove when semver and source-map are bumped to latest versions
dedupe(importee) {
return (
importee.startsWith("lodash/") ||
[
"babel-plugin-dynamic-import-node/utils",
"esutils",
"semver",
"source-map",
].includes(importee)
);
return ["semver", "source-map"].includes(importee);
},
}),
rollupCommonJs({
Expand Down

0 comments on commit 56ed425

Please sign in to comment.