Skip to content

Commit

Permalink
use correct reh/reh-web package.json in bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Jan 16, 2025
1 parent 9f520e6 commit d909052
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/gulpfile.reh.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
// --- Start Positron ---
// Note: The remote/reh-web/package.json is generated/updated in build/npm/postinstall.js
const packageJsonBase = type === 'reh-web' ? 'remote/reh-web' : 'remote';
const packageJsonStream = gulp.src(['remote/package.json'], { base: packageJsonBase })
const packageJsonStream = gulp.src([`${packageJsonBase}/package.json`], { base: packageJsonBase })
// --- End Positron ---
.pipe(json({ name, version, dependencies: undefined, optionalDependencies: undefined, type: 'module' }))
.pipe(es.through(function (file) {
packageJsonContents = file.contents.toString();
Expand Down

0 comments on commit d909052

Please sign in to comment.