Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

IPWright83/vite-dynamic-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository demonstrating Vite Dynamic Module issue

vitejs/vite#11804

When running a project built in Vite you can hit:

TypeError: Failed to fetch dynamically imported module

This repository demonstrates it.

To reproduce:

  • npm install
  • npm run build

Then in 2 different terminals:

  • npx serve dist (starts a web server)
  • visit the page in your browser (usually localhost:3000)

Other terminal (within 10s of launching page):

  • modify the string in Foo.jsx
  • npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published