The piral-cli plugin for using parcel (v2) as bundler.
- 📢 We are hiring! - work with us on Piral, its ecosystem and our users
- 🌍 Website - learn more about Piral
- 📖 Documentation - everything to get started and master micro frontends
- 🉐 Help translating Piral! - making PRs in the documentation branch
- 🐞 Issue Tracker - report bugs or suggest new features
- 🗨 Forums - use the community support on StackOverflow
- 👪 Community Chat - ask questions and provide answers in our Gitter room
- Pilets (tested / working)
- Codegen
- Bundle Splitting
- ESM output
- CSS / SASS
- Importmap references
- Importmap bundles
- v0 format (not implemented)
- v1 format (not implemented)
- v2 format
- tsconfig changes
- Building
- Debugging
- Reloading
- Piral instances (tested / working)
- Codegen
- HTML entry point
- Emulator build
- Release build
- tsconfig changes
- Debugging
- Reloading
Piral instances require changes:
type="module"in the<script>of index.html- In the package.json we need to include
"@parcel/transformer-js": { "inlineEnvironment": true } - In the package.json we need to include
"@parcel/resolver-default": { "packageExports": true }
Pilets may also require changes:
- Centrally shared dependencies have to be in the
dependencies- not thedevDependencies(e.g., movereactfromdevDependenciestodependencies) - Parcel handles the JSX transform of React a bit different - you may need to configure
"jsxFactory": "React.createElement"in the tsconfig.json
This code is released using the MIT license. For more information see the LICENSE file.
