This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
Releases: eik-lib/microbundle
Releases · eik-lib/microbundle
v2.1.0
v2.1.0-canary.1
v2.1.0-canary.0
Incorporates #738 and updates all dependencies.
Except for autoprefixer, as it requires PostCSS v8 support.
v2.0.0
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 eithermodern
oriife
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 justmodern
.
v1.0.0
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 todist
by default.--css-modules
no longer false by default.--jsx
no longer hardcoded toReact.createElement
, and set back to the original default value (h
for preact).--jsxFragment
no longer hardcoded toReact.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 tov1.2.3
.