🚀 Parcel 2.0.0-alpha.1 is here! 📦

devongovett
Aug 13 · 9 min read

Configuration

{
"extends": ["@parcel/config-default"],
"transforms": {
"*.dart": ["parcel-transform-dart"],
}
}

Small Core

A Parcel asset graph, showing a build with multiple targets (see below).

Multiple targets, and bundle splitting

{
"browser": "dist/legacy/index.js",
"browserModern": "dist/modern/index.js",
"targets": {
"browserModern": {
"engines": {
"browsers": [
"last 1 Chrome version"
]
}
},
"browser": {
"engines": {
"browsers": [
"> 0.25%"
]
}
}
}
}

Whole application bundling

The Team

Try it out and help us get to the finish line!

Thanks to Kyle Welch

devongovett

Written by

Full stack JavaScripter. Blogger at @badass_js. Audio hacker @audiocogs. Engineer @storify & @livefyre.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade