This is a sample to show how to bundle and load a SolidJS based application using JS modules in browser environment.
- pre-bundle external dependencies
- redirect imports to pre-bundled versions
- share dependencies between modules
- self-contained bundling and loading of extension/plugin modules
- solid-js
- @tanstack/solid-query
- clsx
- Rollup
- Babel
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
- https://www.solidjs.com
- https://tanstack.com/query/latest/docs/framework/solid/overview
Use pnpm!
pnpm i
pnpm run build:all
pnpm run dev:all
Open browser: http://localhost:3000