1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-03 09:03:32 +00:00

update package https-proxy-agent (#246)

* update package http-proxy-agent

* Update syntax appropriately

* Explicitly add utils package to fix broken tests

* Revert "Explicitly add utils package to fix broken tests"

This reverts commit 2cf03fdcbae89e55124c7e36201238520434f8cc.

* Import util in spec to make sure it gets bundled

* Revert "Import util in spec to make sure it gets bundled"

This reverts commit 79264cdab0ef37af855d64a6dc3ef574575309d2.

* Add alias to ensure util module resolves in tests

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
Chad Scharf
2021-01-27 20:08:56 -05:00
committed by GitHub
parent d1c46e6bdc
commit 06239aea2d
4 changed files with 37 additions and 14 deletions

View File

@@ -57,7 +57,12 @@ module.exports = (config) => {
tsconfig: './tsconfig.json',
bundlerOptions: {
entrypoints: /\.spec\.ts$/,
sourceMap: true
sourceMap: true,
resolve: {
alias: {
"util": "node_modules/util/util.js"
}
}
}
},