Skip to content

Commit 9948ff3

Browse files
authored
Merge pull request #70 from blazejkustra/feature/cli
Fix build script and add to ci workflow
2 parents de4a94a + b2a18a6 commit 9948ff3

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
working-directory: packages/server
4040
run: npm run build
4141

42+
- name: Build CLI
43+
working-directory: packages/cli
44+
run: npm run build
45+
4246
- name: Build VS Code extension
4347
working-directory: packages/vscode-client
4448
run: npm run compile

esbuild.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ async function main() {
6868
entryPoints: [path.join(rootDir, "packages/cli/src/main.ts")],
6969
outfile: path.join(rootDir, "packages/cli/out/main.js"),
7070
external: [],
71+
alias: {
72+
"@react-compiler-marker/server": path.join(rootDir, "packages/server"),
73+
},
7174
});
7275
contexts.push(cliCtx);
7376
}

0 commit comments

Comments
 (0)