Skip to content

Commit da38b30

Browse files
committed
build: release src should package src dir not dist
1 parent 2cc9824 commit da38b30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src-build/createSrcRelease.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ function buildElectron() {
138138
createElectronConfig();
139139

140140
const phoenixDir = join(projectRoot, '..', 'phoenix');
141-
const phoenixDistSrc = join(phoenixDir, 'dist');
141+
const phoenixDistSrc = join(phoenixDir, 'src');
142142
const phoenixDistDest = join(projectRoot, 'src-electron', 'phoenix-dist');
143143

144144
// Build phoenix production dist
145-
console.log('Building Phoenix production dist...');
146-
run('npm run release:prod', { cwd: phoenixDir });
145+
console.log('Building Phoenix');
146+
run('npm run build', { cwd: phoenixDir });
147147

148148
// Copy dist to electron
149149
console.log('Copying phoenix dist...');

0 commit comments

Comments
 (0)