Skip to content

0.8.0

Compare
Choose a tag to compare
@joelmoss joelmoss released this 06 Jun 20:24
· 205 commits to master since this release
  • FEAT: Added "proscenium" to the list of exports conditions, allowing you to respond to proscenium in your package exports. See https://esbuild.github.io/api/#conditions for more information. But as an example, you can do this:
{
  "name": "pkg",
  "exports": {
    "./foo": {
      "proscenium": "./index.js",
      "default": "./dist/index.js"
    }
  }
}

Because Proscenium bundles everything, and transforms down when needed, there is actually no need for libraries to be pre-built before being published. So a package that supports the "proscenium" exports condition, can simply export its source as-is. Then Proscenium will consume it and transform where necessary.

  • FIX: Ensure CSS nesting is transformed down for browsers that do not support it.

Full Changelog: v0.7.0...v0.8.0