Skip to content

Commit c981ee0

Browse files
authored
Merge pull request #7398 from Shopify/04-24-fix_web_pixel_bundle_ui_step
Fix web pixel bundle_ui step
2 parents 3598271 + e6b7dbe commit c981ee0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/cli/models/extensions/specifications/web_pixel_extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ const webPixelSpec = createExtensionSpecification({
3333
partnersWebIdentifier: 'web_pixel',
3434
schema: WebPixelSchema,
3535
appModuleFeatures: (_) => ['esbuild', 'single_js_entry_path'],
36-
getOutputRelativePath: (extension: ExtensionInstance<WebPixelConfigType>) => `dist/${extension.handle}.js`,
36+
getOutputRelativePath: (extension: ExtensionInstance<WebPixelConfigType>) => `${extension.handle}.js`,
3737
clientSteps: [
3838
{
3939
lifecycle: 'deploy',
40-
steps: [{id: 'bundle-ui', name: 'Bundle UI Extension', type: 'bundle_ui', config: {}}],
40+
steps: [{id: 'bundle-ui', name: 'Bundle UI Extension', type: 'bundle_ui', config: {bundleFolder: 'dist/'}}],
4141
},
4242
],
4343
deployConfig: async (config, _) => {

0 commit comments

Comments
 (0)