Skip to content

Commit 39d73bc

Browse files
committed
buildScripts/buildESModules: adjust the basePath for neo-config.json files #6722
1 parent c87a497 commit 39d73bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

buildScripts/buildESModules.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async function minifyDirectory(inputDir, outputDir) {
3535
const jsonContent = JSON.parse(content);
3636

3737
if (dirent.name === 'neo-config.json') {
38+
jsonContent.basePath = '../../' + jsonContent.basePath;
3839
jsonContent.environment = 'dist/esm';
3940
}
4041

0 commit comments

Comments
 (0)