diff --git a/.changeset/hip-spies-happen.md b/.changeset/hip-spies-happen.md new file mode 100644 index 00000000..af802a4b --- /dev/null +++ b/.changeset/hip-spies-happen.md @@ -0,0 +1,5 @@ +--- +'microbundle': patch +--- + +Enable sourcemaps for CSS diff --git a/.changeset/silver-guests-brake.md b/.changeset/silver-guests-brake.md new file mode 100644 index 00000000..9c36939e --- /dev/null +++ b/.changeset/silver-guests-brake.md @@ -0,0 +1,5 @@ +--- +'microbundle': minor +--- + +Use user's typescript first, fallback to bundled diff --git a/README.md b/README.md index 7b8161c2..9c003d91 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ "name": "foo", // your package name "source": "src/foo.js", // your source code "main": "dist/foo.js", // where to generate the CommonJS/Node bundle + "exports": "dist/foo.modern.js", // path to the modern output (see below) "module": "dist/foo.module.js", // where to generate the ESM bundle "unpkg": "dist/foo.umd.js", // where to generate the UMD bundle (also aliased as "umd:main") "scripts": { @@ -58,7 +59,7 @@ Microbundle produces esm -In addition to the above formats, Microbundle also outputs a `modern` bundle specially designed to work in _all modern browsers_. This bundle preserves most modern JS features when compiling your code, but ensures the result runs in 90% of web browsers without needing to be transpiled. Specifically, it uses [preset-modules](https://github.com/babel/preset-modules) to target the set of browsers that support `