Changelog
0.19.1
module.basename()
when used with custom resolveId
functionrequire( 'rollup' ).VERSION
Changelog
0.19.0
transform
option is no longer passed through to custom loaders. Loaders should only concern themselves with providing source code; transformation will always take placeoptions.transform
functions can return a string, or a {code, map, ast}
object. Where possible, sourcemap chains will be flattened (#175)options.resolveId
, options.resolveExternal
and options.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)intro
and outro
options – similar to banner
and footer
except inserted inside any format-specific wrapperexport let a = 1, b = 2
) are split up to facilitate tree-shaking (#171)Changelog
0.18.4
external.config.foo = 'bar'
) without erroringChangelog
0.18.2
Changelog
0.18.1
acorn.parse
in bundle, remove sander
from dependencies, simplify build