Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Releases: eik-lib/microbundle

v2.1.0

19 Dec 02:50
3d80bf5
Compare
Choose a tag to compare
  • Adds PostCSS v8.
  • Adds TypeScript v4.

v2.1.0-canary.1

19 Nov 20:43
3331a47
Compare
Choose a tag to compare
v2.1.0-canary.1 Pre-release
Pre-release
  • Adds PostCSS v8 support by incorporating #335 by means of a fork.
  • Updated Autoprefixer to v10, which implements the new PostCSS v8 API.

v2.1.0-canary.0..v2.1.0-canary.1

v2.1.0-canary.0

19 Nov 18:20
Compare
Choose a tag to compare
v2.1.0-canary.0 Pre-release
Pre-release

Incorporates #738 and updates all dependencies.
Except for autoprefixer, as it requires PostCSS v8 support.

v2.0.0..v2.1.0-canary.0

v2.0.0

19 Nov 15:39
Compare
Choose a tag to compare

We're preparing to contribute features upstream. This means that FINN.no specific features and defaults have been moved to @finn-no/microbundle, see details in the upgrade guide and v2 breaking changes.

BREAKING CHANGES

  • babel-plugin-react-require removed.
  • --import-map auto enables import mapping, it's no longer always enabled when either modern or iife formats is used. And --external none is not shadow enabled anymore when import mapping is running.
  • support for pkg.nomodule to control -f iife file output naming removed.
  • filename template logic reverted to microbundle.
  • removed postcss-import.
  • removed @eik/postcss-import-map.
  • default formats changed back to microbundle defaults.

Features

  • esm supported with import mapping, not just modern.

v1.0.0

17 Nov 22:44
Compare
Choose a tag to compare

We're preparing to contribute features upstream. This means that FINN.no specific features and defaults have been moved to @finn-no/microbundle, see details in the upgrade guide

BREAKING CHANGES

(these only apply if you stay on @eik/microbundle and don't migrate to @finn-no/microbundle):

  • removed rollup replace plugin, process.env.NODE_ENV no longer replaced automatically.
  • --output no longer set to dist by default.
  • --css-modules no longer false by default.
  • --jsx no longer hardcoded to React.createElement, and set back to the original default value (h for preact).
  • --jsxFragment no longer hardcoded to React.Fragment, and set back to the original default value (Fragment for preact).

Features

  • --jsx-import-source react lets you use the new jsx runtime in React v17.
  • @eik/postcss-import-map bumped to v1.2.3.