Skip to content

Commit

Permalink
Merge pull request #5133 from Shopify/use-uuid-to-record-asset-path-i…
Browse files Browse the repository at this point in the history
…n-manifest

Use the auto-generated UID for asset upload path
  • Loading branch information
amcaplan authored Dec 22, 2024
2 parents d2be4a3 + f8b6985 commit 27fceb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/cli/models/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export class App<
type: module.externalType,
handle: module.handle,
uid: module.uid,
assets: module.configuration.uid ?? module.handle,
assets: module.uid,
target: module.contextValue,
config: (config ?? {}) as JsonMapType,
}
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/cli/services/deploy/bundle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ describe('bundleAndBuildExtensions', () => {
type: 'web_pixel_extension_external',
handle: 'test-ui-extension',
uid: 'test-ui-extension-uid',
assets: 'test-ui-extension',
assets: 'test-ui-extension-uid',
target: '',
config: {},
},
{
type: 'theme_external',
handle: 'theme-extension-name',
uid: themeExtension.uid,
assets: 'theme-extension-name',
assets: themeExtension.uid,
target: '',
config: {
theme_extension: {
Expand Down

0 comments on commit 27fceb7

Please sign in to comment.