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.
2 parents 77b6f54 + 7b5d169 commit 23ba15dCopy full SHA for 23ba15d
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