Skip to content

Commit

Permalink
fix(build): prod api extraction for qwik-city
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Jul 18, 2024
1 parent 6a7e2f3 commit 0b6752d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ export async function build(config: BuildConfig) {
await buildWasmBinding(config);
}

if (config.tsc) {
if (config.tsc || (!config.dev && config.qwikcity)) {
await tscQwikCity(config);
}

if (config.qwikcity) {
await buildQwikCity(config);
}

if (config.api || (config.tsc && config.qwikcity)) {
if (config.api || ((!config.dev || config.tsc) && config.qwikcity)) {
await apiExtractorQwikCity(config);
}

Expand Down

0 comments on commit 0b6752d

Please sign in to comment.