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

Commit

Permalink
Update UMD build to include version info
Browse files Browse the repository at this point in the history
  • Loading branch information
melissaluu committed Nov 8, 2023
1 parent 431b8f2 commit 5d24536
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"cSpell.words": ["isbot"]
"cSpell.words": [
"isbot"
]
}
3 changes: 1 addition & 2 deletions packages/storefront-api-client/rollup.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export function getPlugins({ tsconfig, minify } = {}) {
}

const packageName = pkg.name.substring(1);
const repositoryName = pkg.repository.url.split(":")[1].split(".")[0];
export const bannerConfig = {
banner: `/*! ${packageName} -- Copyright (c) 2023-present, Shopify Inc. -- license (MIT): https://github.com/${repositoryName}/blob/main/LICENSE */`,
banner: `/*! ${packageName}@${pkg.version} -- Copyright (c) 2023-present, Shopify Inc. -- license (MIT): https://github.com/Shopify/shopify-api-js/blob/main/LICENSE.md */`,
};

const config = [
Expand Down

0 comments on commit 5d24536

Please sign in to comment.