remove outdated bundler docs and add modern E2E test details

This commit is contained in:
Nacho Codoñer
2026-01-26 16:38:44 +01:00
parent 323099070d
commit 806a1ebfe3
2 changed files with 14 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ meteor-3/
| Build system | `tools/isobuild/bundler.js` |
| Package lookup | `packages/<name>/package.js` |
| Modern bundler | `packages/rspack/`, `packages/tools-core/` |
| Modern E2E tests | `tools/modern-tests/` |
| Authentication | `packages/accounts-base/` |
| HTTP server | `packages/webapp/` |
| Database | `packages/mongo/`, `packages/minimongo/` |
@@ -82,6 +83,7 @@ tools/
├── runners/ # App execution
│ ├── run-app.js # Web app runner
│ └── run-mongo.js # MongoDB runner
├── modern-tests/ # E2E tests for modern integrations (Jest + Playwright)
├── fs/ # File operations
├── packaging/ # Package management
└── project-context.js # Dependency resolution (72KB)
@@ -137,6 +139,18 @@ WebApp.connectHandlers.use('/api', middleware);
./meteor test-packages ./packages/my-pkg # Package tests
```
### Modern E2E Tests (`tools/modern-tests/`)
Jest + Playwright suite for verifying modern bundler integrations (rspack). Tests cover framework skeletons and build scenarios.
```bash
npm run install:modern # Install dependencies
npm run test:modern # Run all E2E tests
npm run test:modern -- -t="React" # Run specific test
```
**Test apps:** `apps/{react,vue,svelte,solid,blaze,typescript,babel,coffeescript,monorepo}`
## Environment Variables
| Variable | Purpose |

View File

@@ -1136,13 +1136,6 @@ class MyCompiler extends CachingCompiler {
| `METEOR_DEBUG_BUILD` | Verbose build logging |
| `METEOR_WATCH_FORCE_POLLING` | Force polling file watcher |
### Modern Bundler Integration
| Variable | Description |
|----------|-------------|
| `METEOR_MODERN_BUNDLER` | Enable modern bundler (rspack/vite) |
| `METEOR_RSPACK_VERBOSE` | Verbose Rspack output |
### Testing
| Variable | Description |