Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

rob-clarke/rolldown-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduces issue with generated bundle of roslib.js.

When running npm run dev (i.e. vite in dev mode), the imported module .vite/deps/roslib.js imports ./RosLib-xxx.js which attempts to import ./roslib.js again. This leads to the import failing withundefined is not a function.

Setting rolldown to 1.0.0 with the below resolves the issue.

"overrides":{
    "rolldown": "1.0.0"
}

The issue only appears to happen with vite dev, not with vite build.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages