Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rsc): Don't run the Vite dev server in production #11425

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Sep 4, 2024

We were using the vite dev server to resolve imports and transpile the modules. And this is great - during dev! For production we can/should just import the already built files.

@Tobbe Tobbe added release:fix This PR is a fix changesets-ok Override the changesets check experimental This PR relates to only experimental feature(s) labels Sep 4, 2024
@Tobbe Tobbe added this to the next-release-patch milestone Sep 4, 2024
@Tobbe Tobbe enabled auto-merge (squash) September 4, 2024 14:19
@Tobbe Tobbe merged commit fbb8880 into redwoodjs:main Sep 4, 2024
50 checks passed
@Tobbe Tobbe deleted the tobbe-rsc-no-vite-dev-server branch September 4, 2024 17:12
dac09 added a commit to dac09/redwood that referenced this pull request Sep 5, 2024
…-additional-tests

* 'main' of github.com:redwoodjs/redwood:
  chore(rsc): Remove unused methods in the worker (redwoodjs#11431)
  chore(rsc): Simplify worker by not using vite config (redwoodjs#11430)
  Adds section about job errors and failure, backports to versioned 8.0
  chore(publishing): Fix canary publishing for next branch (redwoodjs#11429)
  chore(changesets): Delete old ones post v8 release (redwoodjs#11428)
  fix(rsc): Don't run the Vite dev server in production (redwoodjs#11425)
  fix(rsa): Use dist filenames when registering server references (redwoodjs#11417)
  chore(test-project): Update to postcss 8.4.45 (redwoodjs#11424)
  chore(docs): Compress v7 versions into v7.x (redwoodjs#11422)
  restore workspace:* in package.json files
  Revert "deps(react): 18.3.1 (redwoodjs#10885)"
  v8.0.0
  Version docs to 8.0
  Trigger CI
  deps(react): 18.3.1 (redwoodjs#10885)
  chore(rsa): Add missing routes to test project blog (redwoodjs#11421)
  RSC: Add blog pages to kitchen sink test project (redwoodjs#11420)
  chore(rsc): Refactor: Clean up RSA babel transform (redwoodjs#11415)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check experimental This PR relates to only experimental feature(s) release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants