Commit 26a649e
committed
fix(mobile): build canvas-editor CSS bundle during EAS install
CanvasEditorDOM.tsx imports @gruenerator/canvas-editor/styles/bundle
which points at ./dist/canvas-editor-bundle.css — a Tailwind-compiled
artifact generated by the package's build:css script. Nothing in EAS's
pipeline invokes that script, so Metro's DOM-component bundler fails
with "Unable to resolve module".
Adding the eas-build-post-install hook runs tailwindcss immediately
after pnpm install, before prebuild/bundle, so the artifact exists by
the time Metro resolves the import. Web and desktop are unaffected —
Vite compiles Tailwind in-process.1 parent 8ef6b65 commit 26a649e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments