Skip to content

Commit

Permalink
Edit the asset path for dynamic imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislomaxjones committed Apr 14, 2023
1 parent 6d17d38 commit 2194e4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bundle/src/bootstraps/standalone.commercial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ const decideAssetsPath = () => {
return process.env.OVERRIDE_BUNDLE_PATH;
} else {
const assetsPath = frontendAssetsFullURL ?? page.assetsPath;
return `${assetsPath}javascripts/commercial/`;
// We need to add another field to the key
// This is to effectively namespace our commercial bundles from everything else
// But we can reliably know this every time
// TODO choose a proper name
return `${assetsPath}test_commercial_bundles/`;
}
};

Expand Down

0 comments on commit 2194e4d

Please sign in to comment.