MCPcopy Create free account
hub / github.com/codesandbox/sandpack-bundler

github.com/codesandbox/sandpack-bundler @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
401 symbols 744 edges 103 files 25 documented · 6% updated 21mo ago★ 924 open issues

Browse by type

Functions 296 Types & classes 105
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Sandpack Bundler

The sandpack bundler, this aims to eventually replace the current sandpack with a more streamlined and faster version.

Getting started

  1. Run yarn to install dependencies.
  2. Run yarn dev to start the development server
  3. Set the bundlerURL of sandpack-react to http://localhost:1234/ to see it in action.

Test the production build (performance/integration tests)

  1. Run yarn to install dependencies.
  2. Run yarn build to build the application
  3. Run yarn start to start a local test server
  4. Set the bundlerURL of sandpack-react to http://localhost:4587/

Using the deployed version

The main branch of this repository is automatically deployed to https://sandpack-bundler.codesandbox.io so you can update bundlerURL of sandpack-react to that url and start using the new sandpack bundler.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 178
Function 118
Class 76
Interface 28
Enum 1

Languages

TypeScript100%

Modules by API surface

src/bundler/bundler.ts24 symbols
src/utils/path.ts13 symbols
src/utils/WorkerMessageBus.ts13 symbols
src/utils/Disposable.ts13 symbols
src/resolver/resolver.ts13 symbols
src/bundler/module/HMR.ts13 symbols
src/FileSystem/layers/NodeModuleFSLayer.ts12 symbols
src/FileSystem/layers/IFrameFSLayer.ts12 symbols
src/bundler/transforms/css/import-loader/index.ts11 symbols
src/bundler/module/hot.ts10 symbols
src/bundler/module/Module.ts10 symbols
src/FileSystem/FSLayer.ts10 symbols

For agents

$ claude mcp add sandpack-bundler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page