Skip to content

Commit d4603e8

Browse files
committed
fix(build): ensure that bindings map is correct
1 parent 89a794e commit d4603e8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/eager-sides-sit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@builder.io/qwik': patch
3+
---
4+
5+
FIX: the optimizer was not using the binary builds

scripts/submodule-optimizer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import RawPlugin from 'esbuild-plugin-raw';
1919
export async function submoduleOptimizer(config: BuildConfig) {
2020
const submodule = 'optimizer';
2121

22-
await generatePlatformBindingsData(config);
22+
// Uncomment this to regenerate the platform binding map for the optimizer. This is only necessary when adding new platform bindings to qwik, and should be committed to source control.
23+
// await generatePlatformBindingsData(config);
2324

2425
async function buildOptimizer() {
2526
const opts: BuildOptions = {

0 commit comments

Comments
 (0)