Commit 4127fda
apex-ai-net
fix(build): resolve stripeCustomer import - remove .ts extension, use eval('import') to prevent client bundling
- Replace 'await import(./stripeCustomer.ts)' with eval('import') pattern
- Apply same fix to serviceResolver.ts payments import
- Prevents webpack/esbuild from including server-only Stripe code in client bundle
- Resolves Netlify build failures (exit code 2)
- Fixes TypeScript allowImportingTsExtensions constraint
Refs: PR #10 fix from chore/netlify-build-fixes branch1 parent a42d6bc commit 4127fda
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
464 | | - | |
465 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| |||
0 commit comments