We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34576d commit 7b5d169Copy full SHA for 7b5d169
packages/create-app/bin/bundle.js
@@ -28,6 +28,10 @@ esBuild({
28
outdir: './dist',
29
platform: 'node',
30
format: 'esm',
31
+ define: {
32
+ // Injected during build to detect fork vs original repo
33
+ 'process.env.SHOPIFY_CLI_BUILD_REPO': JSON.stringify(process.env.SHOPIFY_CLI_BUILD_REPO || 'unknown'),
34
+ },
35
sourcemap: true,
36
inject: ['../../bin/bundling/cjs-shims.js'],
37
external,
0 commit comments