Skip to content

Fix vite builds - #1

Merged
dan-f merged 3 commits into
mainfrom
fix-builds
Jul 17, 2024
Merged

dan-f merged 3 commits into
mainfrom
fix-builds

Conversation

@dan-f

@dan-f dan-f commented Jul 17, 2024

Copy link
Copy Markdown
Owner

The app was working in development mode, but not production mode. The issue seemed to come down to a couple things:

  1. The way we were resolving the processor URL. Now following this workaround.
  2. Rollup (used by vite behind the scenes) not liking our use of eval for validating/compiling the program text. Fixed via the new Function construction which supposedly is better anyways.

There were failures I don't recall related to the web font, but as soon as I resolved these two issues, the web font errors disappeared, so I'm assuming that was somehow downstream of these issues.

@dan-f
dan-f requested a review from PaulBatchelor July 17, 2024 18:29
@dan-f
dan-f merged commit 661e980 into main Jul 17, 2024
@dan-f
dan-f deleted the fix-builds branch July 17, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant