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(vite): Forbid injecting URL timestamp in ssr environment #1825

Merged
merged 1 commit into from
Jan 31, 2021

Conversation

lijianzhang
Copy link
Contributor

When vite-server started and changed the create-app.ts file.
the ssrLoadModule method will be converted to the following code example

Example:

const __vite_ssr_import_0__ = __vite_ssr_import__("/.create-app.ts?t=1612082979827")

__vite_ssr_import__("/.create-app.ts?t=1612082979827")Cannot get the module

@yyx990803 yyx990803 merged commit 8ace645 into vitejs:main Jan 31, 2021
@yyx990803
Copy link
Member

Good catch!

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.

None yet

2 participants