Skip to content

Commit

Permalink
Remove dedupe from rollup config
Browse files Browse the repository at this point in the history
- Update transitive dependency resolve to 1.12.0
  - Fixes issue with symlink resolution which required dedupe workaround
  - browserify/resolve#196
- Fixes Azure#3326
  • Loading branch information
mikeharder committed Aug 2, 2019
1 parent cbf26e0 commit cec8289
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 83 deletions.
105 changes: 29 additions & 76 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions sdk/eventhub/event-hubs/rollup.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,7 @@ export function browserConfig(test = false) {

nodeResolve({
mainFields: ["module", "browser"],
preferBuiltins: false,
// Following packages are de-duped in order to get module resolution to work with npm + rollup
// This will be in place until we have a solution for issue
// https://github.com/Azure/azure-sdk-for-js/issues/3326
dedupe: ["buffer", "events", "util", "process", "assert"]
preferBuiltins: false
}),

cjs({
Expand Down
3 changes: 1 addition & 2 deletions sdk/servicebus/service-bus/rollup.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ export function browserConfig({ test = false, production = false } = {}) {

nodeResolve({
mainFields: ["module", "browser"],
preferBuiltins: false,
dedupe: ["buffer"]
preferBuiltins: false
}),
cjs({
namedExports: { events: ["EventEmitter"], long: ["ZERO"] }
Expand Down

0 comments on commit cec8289

Please sign in to comment.