diff --git a/.changeset/gorgeous-bikes-admire.md b/.changeset/gorgeous-bikes-admire.md new file mode 100644 index 0000000000..c18519886e --- /dev/null +++ b/.changeset/gorgeous-bikes-admire.md @@ -0,0 +1,5 @@ +--- +'@shopify/cli-hydrogen': patch +--- + +Fix the sourcemaps to be included on Oxygen deployments from the CLI diff --git a/packages/cli/src/commands/hydrogen/deploy.ts b/packages/cli/src/commands/hydrogen/deploy.ts index 235436d5eb..34ec0e4b83 100644 --- a/packages/cli/src/commands/hydrogen/deploy.ts +++ b/packages/cli/src/commands/hydrogen/deploy.ts @@ -358,7 +358,7 @@ export async function oxygenDeploy( await runBuild({ directory: path, assetPath, - sourcemap: false, + sourcemap: true, useCodegen: false, }); },