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

v1.0.0

Compare
Choose a tag to compare
@stipsan stipsan released this 17 Nov 22:44
· 73 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

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.