New features
Parcel transformer (#512)
Note
Parcel v2 is currently in pre-release which makes this transformer experimental, it may break when updating Parcel. Use with caution.
The first cut of @compiled/parcel-transformer
is now available. This will improve local developer experience when working with Parcel v2 when your imports have been statically evaluated into your CSS. See #344 for background.
npm install @compiled/parcel-transformer --save-dev
{
"extends": "@parcel/config-default",
"transformers": {
"*.{js,jsx,ts,tsx}": [
"@compiled/parcel-transformer",
"@parcel/transformer-babel",
"@parcel/transformer-js"
]
}
}
See installation docs for more information. There will be bugs - found one? Raise an issue.