rollup v0.19.0 Release Notes
-
- 💥 breaking The
transform
option is no longer passed through to custom loaders. Loaders should only concern themselves with providing source code; transformation will always take place options.transform
functions can return a string, or a{code, map, ast}
object. Where possible, sourcemap chains will be flattened (#175)- 0️⃣
options.resolveId
,options.resolveExternal
andoptions.load
can each be a function or an array of functions. If an array, the first non-null/undefined return value is used. In both cases, failed resolution/loading will fall back to the defaults, unless an error is thrown. (#174) - New
intro
andoutro
options – similar tobanner
andfooter
except inserted inside any format-specific wrapper - Multiple var declarations in an export block (e.g.
export let a = 1, b = 2
) are split up to facilitate tree-shaking (#171) - More informative error when using a missing namespace property (#169)
- ⚡️ Update various dependencies
- 💥 breaking The