Skip to content

Commit 25f01e4

Browse files
authored
[Key Vault] Excluding dist-browser from the artifacts (Azure#12655)
* [Key Vault] Excluding dist-browser from the artifacts * cleaning browserConfig from rollup.config
1 parent b493d44 commit 25f01e4

File tree

9 files changed

+7
-53
lines changed

9 files changed

+7
-53
lines changed

sdk/keyvault/keyvault-admin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"files": [
3636
"types/keyvault-admin.d.ts",
3737
"dist/",
38-
"dist-browser/",
3938
"dist-esm/keyvault-admin/src",
4039
"dist-esm/keyvault-common/src",
4140
"README.md",
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
import * as base from "./rollup.base.config";
22

3-
const inputs = [];
4-
5-
if (!process.env.ONLY_BROWSER) {
6-
inputs.push(base.nodeConfig());
7-
}
8-
9-
// Disable this until we are ready to run rollup for the browser.
10-
if (!process.env.ONLY_NODE) {
11-
inputs.push(base.browserConfig());
12-
}
13-
14-
export default inputs;
3+
export default [base.nodeConfig()];

sdk/keyvault/keyvault-certificates/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"files": [
2929
"types/keyvault-certificates.d.ts",
3030
"dist/",
31-
"dist-browser/",
3231
"dist-esm/keyvault-certificates/src",
3332
"dist-esm/keyvault-common/src",
3433
"README.md",
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
import * as base from "./rollup.base.config";
22

3-
const inputs = [];
4-
5-
if (!process.env.ONLY_BROWSER) {
6-
inputs.push(base.nodeConfig());
7-
}
8-
9-
// Disable this until we are ready to run rollup for the browser.
10-
if (!process.env.ONLY_NODE) {
11-
inputs.push(base.browserConfig());
12-
}
13-
14-
export default inputs;
3+
export default [base.nodeConfig()];

sdk/keyvault/keyvault-common/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
},
5858
"dependencies": {
5959
"@azure/core-http": "^1.2.0",
60-
"tslib": "^2.0.0"
60+
"tslib": "^2.0.0",
61+
"@azure/core-tracing": "1.0.0-preview.9",
62+
"@opentelemetry/api": "^0.10.2"
6163
},
6264
"devDependencies": {
6365
"@azure/eslint-plugin-azure-sdk": "^3.0.0",

sdk/keyvault/keyvault-keys/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"files": [
2929
"types/keyvault-keys.d.ts",
3030
"dist/",
31-
"dist-browser/",
3231
"dist-esm/keyvault-keys/src",
3332
"dist-esm/keyvault-common/src",
3433
"README.md",
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
import * as base from "./rollup.base.config";
22

3-
const inputs = [];
4-
5-
if (!process.env.ONLY_BROWSER) {
6-
inputs.push(base.nodeConfig());
7-
}
8-
9-
// Disable this until we are ready to run rollup for the browser.
10-
if (!process.env.ONLY_NODE) {
11-
inputs.push(base.browserConfig());
12-
}
13-
14-
export default inputs;
3+
export default [base.nodeConfig()];

sdk/keyvault/keyvault-secrets/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"files": [
3232
"types/keyvault-secrets.d.ts",
3333
"dist/",
34-
"dist-browser/",
3534
"dist-esm/keyvault-secrets/src",
3635
"dist-esm/keyvault-common/src",
3736
"README.md",
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
import * as base from "./rollup.base.config";
22

3-
const inputs = [];
4-
5-
if (!process.env.ONLY_BROWSER) {
6-
inputs.push(base.nodeConfig());
7-
}
8-
9-
// Disable this until we are ready to run rollup for the browser.
10-
if (!process.env.ONLY_NODE) {
11-
inputs.push(base.browserConfig());
12-
}
13-
14-
export default inputs;
3+
export default [base.nodeConfig()];

0 commit comments

Comments
 (0)