Skip to content

spencer516/react-rollup-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React DOM + Rollup Treehsaking

To see this bug in action:

  1. Clone this repo
  2. Install dependencies with yarn install or npm install
  3. Run yarn start:treeshake
  4. Visit localhost:10001

If the react app (defined in main.jsx) is rendering correclty, you should see: "Hello, World!" inside of an <h1> tag

This is "fixed" by disabling treeshaking, which you can do:

yarn start:notreeshake

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published