Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Conversation

@petebacondarwin
Copy link
Contributor

@petebacondarwin petebacondarwin commented Oct 23, 2024

Now that we are prebundling, and can turn on npdejs_compat, some of the hacks from before are no longer needed.

  • remove the fake process global
  • remove the workerd custom import module
  • remove the unsafeUseModuleFallbackService property
  • consolidate environment options creation
  • move vite override to the workspace catalog

@petebacondarwin petebacondarwin changed the title fix: remove unnecessary code pre-bundling follow ups Oct 23, 2024
@petebacondarwin petebacondarwin force-pushed the pbd/prebundle-follow-ups branch 2 times, most recently from 407efbe to d3a5b82 Compare October 23, 2024 20:22
@petebacondarwin petebacondarwin marked this pull request as ready for review October 24, 2024 09:58
Copy link
Contributor

@dario-piotrowicz dario-piotrowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 😄

Thanks for addressing the spots I missed with my prebundling PR 🙏

Now that we are prebundling, and can turn on npdejs_compat, some of the hacks from before are no longer needed.

- remove the fake process global
- remove the workerd custom import module
- remove the unsafeUseModuleFallbackService property
- consolidate environment options creation
- move vite override to the workspace catalog
@dario-piotrowicz dario-piotrowicz force-pushed the pbd/prebundle-follow-ups branch from 9b12b1c to d933787 Compare October 30, 2024 11:10
@dario-piotrowicz dario-piotrowicz merged commit 93d1ae9 into main Oct 30, 2024
3 checks passed
@dario-piotrowicz dario-piotrowicz deleted the pbd/prebundle-follow-ups branch October 30, 2024 11:13
@jamesopstad
Copy link
Contributor

There was a regression in this PR that means you now can't override the output directory for a Worker in the Vite config (this was why I used configEnvironment before, which has been removed). I've added a new issue - #45.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants