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

v2.0.0

Compare
Choose a tag to compare
@stipsan stipsan released this 19 Nov 15:39
· 54 commits to main since this release

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.