About parcel
parcel is a skill for developers using Parcel to bundle web applications. It covers entry points, assets, environment settings, and deployment output, with a zero-configuration workflow and HMR.
Key features
- 01Parcel bundling guidance
- 02Automatic dependency and asset handling
- 03Entry, environment, and target configuration
- 04Build and watch workflows
Use cases
- 01Bundle a web app from an HTML or JS entry
- 02Configure multiple entries and build targets
- 03Set up production builds and caching
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ full-stack-skills/ build-skills --skill parcelAfter installing, type/parcelin Claude Code to confirm it loaded.
Bundled filesagents/openai.yamlLICENSE.txt
Details
From the project READMEWhen to use this skill
Use this skill whenever the user wants to:
- 用 Parcel 零配置打包 Web 应用、支持多种资源与 HMR
- 配置入口、环境变量与部署输出
How to use this skill
- 使用:指定入口 HTML 或 JS;parcel build/watch;自动解析依赖与资源。
- 配置:.parcelrc、环境变量;多入口与 target。
- 参考:https://parceljs.org/
Best Practices
- 入口与资源结构清晰;生产 build 与缓存。
- 大项目可评估与 Vite/Webpack 对比;按需优化。
Keywords
parcel, 打包, 零配置, HMR
Comments
Markdown supported