Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 45e2162

Browse files
committed
UMD/CJS clean up
1 parent 3c4ca58 commit 45e2162

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/admin-api-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"author": "Shopify",
1010
"license": "MIT",
11-
"main": "./dist/umd/admin-api-client.min.js",
11+
"main": "./dist/admin-api-client.min.js",
1212
"module": "./dist/index.mjs",
1313
"types": "./dist/admin-api-client.d.ts",
1414
"exports": {

packages/admin-api-client/rollup.config.cjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ export function getPlugins({ tsconfig, minify } = {}) {
2525
];
2626
}
2727

28-
const packageName = pkg.name.substring(1);
29-
const repositoryName = pkg.repository.url.split(":")[1].split(".")[0];
30-
3128
const config = [
3229
{
3330
input: mainSrcInput,

0 commit comments

Comments
 (0)