mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-18 15:12:26 +00:00
It took me an hour+ to figure out why I wasn't getting chunk names in my stats file... turns out babel was stripping the comments injected by this plugin. It isn't immediately obvious how the plugin works, so I figured I'd save the next person some time and make a note here.
Loadable Components website
Documentation site for loadable components. This website is running on gatsbyjs.
Getting Started
To install and run the docs site locally:
yarn
yarn dev
Then, open your favorite browser to localhost:8000. GraphiQL runs at localhost:8000/___graphql.
Contributing
Build the site to test locally.
yarn build
Serve the build.
yarn serve
Then, open your favorite browser to localhost:9000 to verify everything looks correct.