← ClaudeAtlas

meteor-modern-build-stacklisted

Use when configuring or tuning the Meteor 3 modern build stack: SWC transpiler, SWC-based minifier, modern @parcel/watcher, web-arch skipping in development, .meteorignore, and the Rspack bundler integration via the rspack Atmosphere package. Triggers on package.json "meteor": { "modern": true }, .swcrc, swc.config.js, [Transpiler] Used Babel Fallback logs, rspack.config.js, rspack.config.ts, defineConfig from @meteorjs/rspack, Meteor.compileWith* helpers, Meteor.extendConfig, Meteor.extendSwcConfig vs Meteor.replaceSwcConfig, Meteor.splitVendorChunk, Meteor.persistDevFiles, Meteor.disablePlugins, Meteor.enablePortableBuild, HtmlRspackPlugin customization, RSPACK_DEVSERVER_PORT, TOOL_NODE_FLAGS for OOM, modern/legacy archs. Use this skill when the user asks about enabling the modern build stack, asks about SWC vs Babel in Meteor, asks about Rspack integration setup, or asks about customizing rspack.config.js. For converting an existing app's code to be Rspack-compatible, use migrate-to-rspack instead.
meteor/agent-skills · ★ 7 · Web & Frontend · score 74
Install: claude install-skill meteor/agent-skills
# Modern build stack The modern build stack is two independent tracks. Enable either or both. 1. **Meteor Bundler Optimizations** (Meteor 3.3+). One flag, SWC replaces Babel, SWC minifier replaces Terser, `@parcel/watcher` replaces the legacy watcher, development skips legacy archs. 2. **Rspack Bundler Integration** (Meteor 3.4+). Atmosphere package delegates app-code compilation to Rspack. Tree shaking, ESM, code splitting via HTTP, modern bundler plugins. Standard current `meteor create` application skeletons ship both enabled. Purposefully small or compatibility-oriented skeletons, including `minimal` and `legacy`, may omit Rspack or the modern flag. Inspect the generated `package.json` and `.meteor/packages` instead of inferring features only from the Meteor version. For existing apps, enable optimizations first, then add Rspack once the app code is standards-clean. ## Enable Meteor Bundler Optimizations Add to `package.json`: ```json "meteor": { "modern": true } ``` This enables SWC, the SWC minifier, the modern watcher, and dev-mode web arch skipping. Each falls back to legacy when something is incompatible, so this is backward compatible. Opt out of pieces: ```json "meteor": { "modern": { "transpiler": false, "minifier": false, "watcher": false, "webArchOnly": false } } ``` Or scope SWC: `transpiler.excludeApp`, `transpiler.excludeNodeModules`, `transpiler.excludePackages`, `transpiler.excludeLegacy`. Accept `true` or an arra