49 KiB
49 KiB
rollup changelog
0.50.0
0.49.3
- Respect
watchoptions (#1596) - Fix treeshaking regressions (#1604)
- Allow
-oto work withoutput.format(#1606)
0.49.2
- Fix treeshaking regressions (#1591)
0.49.1
- Fix treeshaking regressions (#1586)
0.49.0
- Completely update the treeshaking algorithm (#1582)
- Only flip screen buffer if appropriate (#1574)
- Guard against two instances creating the same dir (#1576)
0.48.2
- Paths is an output option (#1569)
0.48.1
- Print deprecation warnings in watch mode, and fix options when watcher restarts (#1568)
0.48.0
0.47.6
- Set
process.env.ROLLUP_WATCHbefore loading config file
0.47.5
- Fix broken multi-bundle configs with
rollup.watch(#1532)
0.47.4
- Delete cached config file before reloading in watch mode
0.47.3
- Deshadow aliased imports (#1550)
0.47.2
- Rebuild with dependency that npm randomly deleted
0.47.1
- Ignore external namespace imports when deshadowing (#1547)
0.47.0
- Watch config file, restart
rollup.watchon change (#1535) - Correctly render
export { foo } fromdeclarations inesoutput (#1543) - Reinstate missing
rollup.VERSION
0.46.3
- init for/for-of loop section head with correct scopes (#1538, #1539)
- Fix namespace imports and re-exports in
esoutput (#1511) - Deshadow indirectly imported namespaces (#1488, #1505)
0.46.2
- Pass options to
bundle.writecorrectly inrollup.watch(#1533) - init for-in loop section head with correct scopes (#1480)
- support
--no-interopflag (#1524)
0.46.1
0.46.0
options.formatis now required (#1491)- if
options.formatises6, it will now throw an error (should bees) (#1491) - Add experimental
rollup.watchmethod, replacing rollup-watch (#1491) - Batch warnings together in CLI output (#1491)
- Clear screen between rebuilds in
--watchmode (#1491) onwarnfunction's second argument is the default handler, allowing easier filtering without reimplementing any logic (#1491)- Prevent semi-colon removal after variable declaration that is for loop body (#1275)
- Return
exportsfor namespaced but non-extended IIFE bundles (#1492) - Fix scoping in switch statements (#1498)
- Handle side-effects in tagged template expressions (#1508)
- More descriptive error for missing options.format (#1510)
- Refactor scope handling (#1517)
- Handle failure of a config in multi-config build (#1513)
0.45.2
- Fix interop when import is a string (#1486)
- Separate
resolvedIdsfromresolvedExternalIds(#1490) - Add
--extendflag to CLI (#1482)
0.45.1
- Remove
weakfromoptionalDependencies(#1483)
0.45.0
- [BREAKING]
bundle.generate(...)returns a Promise, so thattransformBundleplugin hooks can be asynchronous (#1474)
0.44.0
- [BREAKING] Don't extend existing globals, unless
options.extendis true (#827) - Fix handling of catch clause parameters (#1462)
0.43.1
- Fix memory leak on incremental rebuilds (#883)
- Allow
this.warnandthis.errorto accept a{line, column}object as an alternative to a character index (#1265) - Print more useful error if entry module is 'external' (#1264)
- Catch errors in
bundle.generateoptions (#1463) - Fix magic-string deprecation warning (#1445)
0.43.0
- Allow config files to import JSON (#1426)
- Allow undefined imports in interop block (#1341)
- Add
process.env.ROLLUP_WATCH = 'true'in watch mode (#1429) - Add
pureExternalModulesoption (#1352) - Allow plugins to specify
options.entry(#1270) - Update dependencies
0.42.0
- Deprecate
options.moduleIdin favour ofoptions.amd.id(#1365) - Add
options.amd.defineoption to specify name of AMDdefinefunction (#1365) - Fix incorrect class removal with
treeshake: false(#1375) - Deconflict module exports imported as namespaces (#1384)
- Handle bare self-imports (#1274)
- Allow config file to export an array of multiple configs (#1389)
- Handle exponentiation operator, and fail gracefully on unknown operators (#1416)
- Add
watchoption (#1424)
0.41.6
- Preserve
originalSourceMapon incremental rebuilds for loaders with sourcemaps (#1336)
0.41.5
- Wrap ternary consequent/alternate sequences in parens (#1273)
- Fix erroneous warning on multiple
export * fromdeclarations with defaults (#1278) - Prevent variable conflicts with
treeshake: false(#1268) - Allow missing
sourcewhen collapsing sourcemaps (#1254) - Allow plugins to log with strings (#1316)
0.41.4
- Fix cases of multiple
export * from 'external'declarations (#1252) - Fix 'TODO' error message (#1257)
0.41.3
- Don't treat
this.fooas possible namespace (#1258)
0.41.2
- Optimize
namespace['foo']references (#1240)
0.41.1
0.41.0
- Add
this.warn(...)andthis.error(...)methods to plugintransformhook contexts (#1140) throwalways considered to be a side effect (#1227)
0.40.2
- Add
fileproperty to sourcemaps for bundles with plugins (#986) - Don't require globals for empty imports (#1217)
0.40.1
- Allow missing space between
export defaultand declaration (#1218)
0.40.0
- [BREAKING] Better, more consistent error logging (#1212)
- Don't use colours and emojis for non-TTY stderr (#1201)
0.39.2
- Prevent mutation of cached ASTs (fixes stack overflow with rollup-watch) (#1205)
0.39.1
- Ignore
varinitialisers in dead branches (#1198)
0.39.0
- [BREAKING] Warnings are objects, rather than strings (#1194)
0.38.3
- More informative warning for implicit external dependencies (#1051)
- Warn when creating browser bundle with external dependencies on Node built-ins (#1051)
- Statically analyse LogicalExpression nodes, for better dead code removal (#1061)
0.38.2
- Preserve
vardeclarations in dead branches (#997) - Warn if exporting a call expression that looks like a function declaration (#1011)
- Wrap function expressions in parentheses if necessary (#1011)
0.38.1
- Fix sourcemap comment removal (#1104)
- Warn if empty bundle is generated (#444)
- Support ES2017 syntax (#492)
- Remove unused imports from external modules (#595)
- Remove unused function and class declarations inside function bodies (#1108, #1178)
- Deconflict function expression IDs (#1176)
0.38.0
- [BREAKING]
export { foo as default }creates live binding (#1078) - Prevent sourceMappingURL removal edge case (#988)
- Bind function expression IDs to the correct scope (#1083)
- Correctly deshadow destructured parameters with assignments (#1008)
0.37.2
- Remove unused
newexpressions without side-effects (#179) - Only remove valid sourceMappingURL comments (#1132)
- Ensure blocks containing activated
vardeclarations are included in output (#1113) - Support plugin outros (#1116)
0.37.1
- Follow symlinks (#447)
- Fix tree-shaking of recursive functions and other cases (#1120, #1142)
- Support module names that require quotes (#582, #584)
- Fix #957
0.37.0
- [BREAKING] Default exports are not included in reified namespaces (#1028)
- Parentheses do not defeat tree-shaking (#1101, #1128)
- More
legacyfixes: do not create getters (#1069), do not include__esModule(#1068), quote reserved property names (#1057) - Fix missing namespace member warnings (#1045)
- Fix TypeError in arrow function without braces returning a function (#1062)
0.36.4
- Only depend on program-level call expressions (#977)
0.36.3
- Add
legacyoption for IE8 support (#989)
0.36.2
- Insert semicolons where necessary to fix broken code (#1004)
- Include module ID and location when warning about top-level
this(#1012) - More informative error for missing exports (#1033)
options.moduleContextfor per-module context overrides (#1023)
0.36.1
- Include naked block statements (#981)
- Correctly include falsy alternate statements in optimised if blocks (#973)
- Prevent omission of default exports that are only used by the exporting module (#967)
- Prevent warning on
autoexports with ES output (#966)
0.36.0
export { foo as default }no longer creates a live binding (#860)
0.35.15
- Warn on missing unused imports in deshadowing phase (#928)
- Always add a newline to the end of bundles (#958)
0.35.14
- Include all parent statements of expression with effects, up to function boundary (#930)
0.35.13
- Include superclasses when including their subclasses (#932)
0.35.12
- Add
interop: falseoption to disable unwrapping of external imports (#939)
0.35.11
- Deconflict reified namespaces with other declarations (#910)
0.35.10
- Only remove EmptyStatement nodes directly inside blocks (#913)
0.35.9
- Support Node 0.12 (#909)
0.35.8
- Correctly deshadow re-assigned module functions (#910)
0.35.7
- Refactor
flushTime.js(#922)
0.35.6
- Fix browser build
0.35.5
- Allow empty for loop heads (#919)
0.35.4
0.35.3
- Render identifiers inside template literals
0.35.2
- Fix broken build caused by out of date locally installed dependencies
0.35.1
- Rewrite deconflicted class identifiers (#915)
- Include
dependenciesinbundle.modulesobjects (#903) - Update to Acorn 4 (#914)
0.35.0
- Rewrite analysis/tree-shaking code (#902)
- Include conditional mutations of global objects (#901)
- Only reify namespaces if necessary (#898)
- Track mutations of aliased globals (#893)
- Include duplicated var declarations (#716)
0.34.13
- Pass
{ format }through totransformBundle(#867)
0.34.12
0.34.11
0.34.10
- Allow custom
options.contextto replace top-levelthis(#851) - Fix
noConflictwhen used viarollup --config(#846) - Place
outroblock after export block (#852)
0.34.9
- Disable indentation by default, for faster bundle generation (#812)
- More helpful error on missing entry file (#802)
- Preserve comments before import declarations (#815)
0.34.8
- Wrap UMD factory function in parens to avoid lazy parsing (#774)
0.34.7
0.34.5
- Fix circular export (#813)
0.34.4
- Module render performance tweak (#823)
0.34.3
- Avoid infinite recursion in
Bundle.sort()(#800)
0.34.2
- resolveId calls are cached now to improve incremental build
- Fixed error message recursion in plugins
0.34.1
- Support
pathsconfig (#754) - Allow
export *from external module, internally
0.34.0
- Use resolved IDs for relative imports that are also external modules, to allow
options.globalsto work with them (#763) - Ensure reassigned exports are declared in an ES bundle, and remove empty
exports.foo;statements (#755) - Add newline after sourcemap comment (#756)
0.33.2
0.33.1
0.33.0
- Downgrade missing transformer sourcemap to a warning, not an error, and print the name of the offending plugin if possible (#746)
- Warn if same name is re-exported from two modules (#722)
0.32.4
- Add
ongenerateandonwriteplugin hooks (#742)
0.32.3
- Generated correct sourcemaps with reified namespaces (#668)
- Exclude plugin helper modules from sourcemaps (#747)
0.32.2
- Allow
--globalsto work with--externaloroptions.externalin whatever configuration (#743)
0.32.1
- Preserve side-effects to default exports that coincide with used named exports (#733)
- Support
rollup -c node:pkgname(#736)
0.32.0
0.31.2
0.31.1
- Logging for errors emitted by
rollup-watch(#712)
0.31.0
0.30.0
- Bundle CLI (#700)
- Ensure absolute paths are normalised (#704)
- Allow
rollup --watchto work with targets
0.29.1
0.29.0
rollup --watch(#284)
0.28.0
- Experimental support for incremental rebuilds (#658)
0.27.1
- Ensure names exported from a module are not replaced with reserved words (#696)
- Revert (#692) – resolved IDs must be strings
0.27.0
- Use native promises instead of
es6-promise(#689) - Support multiple targets in config files (#655)
- Allow
resolveIdplugin functions to return non-strings (#692)
0.26.7
- Distinguish between default and namespace imports of external module (#637)
- Add
__esModuleproperty to named exports in AMD, CJS and UMD modes (#650)
0.26.6
- Deconflict named imports from external modules in ES bundles (#659)
- Support
options.preferConstto generateconstdeclarations for exports rather thanvardeclarations (#653)
0.26.5
0.26.4
- Prevent plugin-provided external IDs being normalised (#630, #633)
- Throw if module exports/re-exports the same name twice, or has multiple default exports (#679)
- Warn about
evalsecurity issue (#675)
0.26.3
- Ensure reference is not incorrectly marked as a reassignment (#648)
0.26.2
- Sanity check output of
loadhook (#607) - Correct scoping for ID class expressions (#626)
- Warn if named and default exports are used together in auto mode (#587)
- Allow variable initialisers to be rewritten if necessary (#632)
- Prevent double
varwith no-treeshake option (#639)
0.26.1
- Add
treeshake: false/--no-treeshakeoption for debugging (#505) - Update build process to use Bublé (#620)
0.26.0
- Add
noConflict/--no-conflictoption for UMD builds (#580) - Normalise relative external paths (#591)
- Report files causing transform errors (#609)
- Handle sourcemap segments with a single member (#619)
- Update dependencies
0.25.8
- Unixize entry path (#586)
0.25.7
0.25.6
0.25.5
- Make sure shorthand destructuring assignments don't break (#528)
- Allow 'exports' key (#542)
- Ensure
foo. barwherefoois a namespace import is rewritten correctly (#566) - Fix an edge case for exported globals (e.g.
export { document }) (#562)
0.25.4
- Fix misnamed exports of default imports in ES bundles (#513)
- CLI: warn on missing config (#515)
- Detect side-effects in non-top-level member expression assignment (#476)
- Don't remove computed property class keys (#504)
- Augment existing global object rather than replacing (#493)
- Don't fail on
export {}, warn instead (#486)
0.25.3
- Handle non-objects and
nullin_interopDefault(#474)
0.25.2
- Skip dead branches of a conditional expression (#465)
- Allow globals to be exported (#472)
- Ensure reassigned exports are exported (#484)
0.25.1
- Throw error if namespace is called (#446)
- Prevent shadowing bug in ES6 output (#441)
- Prevent
var exports.foo(#426) - Prevent double export of aliased symbols (#438)
- Provide more informative error if Rollup is used in-browser without appropriate
resolveId/loadhooks (#275) - Use
_interopDefaultfunction to DRY out code with many external dependencies, in CommonJS output (#458)
0.25.0
- breaking Module order is determined according to spec, rather than in a way designed to prevent runtime errors. Rollup will warn if it detects runtime errors are likely (#435)
- Prevent overly aggressive tree-shaking with complex call expressions (#440)
0.24.1
- Handle calls to default exports other that are not function expressions or references to function declarations (#421)
- Ensure namespace blocks are created for chained imports (#430)
- Include references in computed property keys (#434)
- Use CLI
--externaloption correctly (#417) - Allow relative imports to be treated as external, if absolute paths are provided in
options.external(#410) - Make IIFE output adhere to Crockford style (#415)
0.24.0
- No longer attempts to resolve IDs in
options.external(#407) - Fix broken sourcemap resolution in cases where some modules are transformed and others aren't (#404)
0.23.2
- Ensure
destorsourceMapFileis resolved against CWD for purposes of sourcemap generation (#344) - Support
banner,footer,introandoutrooptions via CLI (#330) - Allow
options.globalto be a function rather than an object, and warn on missing names (#293) - Ensure side-effects are captured in cyclical call expressions (#397)
- Fix parse error with body-less arrow function expressions (#403)
0.23.1
- Reinstate missing fix from (#392)
0.23.0
- Add
bundleTransformplugin hook and option (#387) - Correctly store names in sourcemaps, regardless of transformers
- Add
--environmentoption to CLI (#388) - Handle destructuring in exports (#374)
- Fix UMD global exports bug introduced in 0.22.1 (#392)
0.22.2
- Prevent lost
varkeywords (#390)
0.22.1
- Update expected option keys (#379)
- Handle transformers that return stringified sourcemaps (#377)
- Automatically create missing namespaces if
moduleNamecontains dots (#378) - Ignore external dependency warnings coming from config file (#333)
- Update to latest magic-string for performance boost
0.22.0
- Duplicate warnings are squelched (#362)
- Plugins can manipulate or override the
optionsobject (#371)
0.21.3
- Validate option keys (#348)
- Allow namespaces imports to sit alongside named imports (#355)
- Count references inside destructured objects (#364)
- Preserve top-level
deletestatements (#352)
0.21.2
- Missing relative imports are an error, not a warning (#321)
- Fixed incorrectly renamed default exports in ES6 bundles (#339)
- Fixed infinite recursion bug (#341)
0.21.1
- Remove
aggressive: true(was too aggressive) (#309) - Handle top-level block statements (#326)
- Optimise namespaces with default exports (#314)
0.21.0
- Only include statements whose side-effects are relevant (i.e. contribute to exports or affect global state) (#253) (#253)
- Exclude dead branches from analysis and inclusion (#249)
- Add
aggressive: trueoption to eliminate all side-effects outside entry module - More informative error when re-exporting non-existent binding (#274)
- Fix infinite recursion bug (#291)
- Log errors when using
rollup --config(#288) - Return rejected promises on startup instead of throwing error, if options are invalid (#303)
0.20.5
- Ensure re-exports don't create a local binding (#270)
0.20.4
- Check file exists at resolve time, to allow filenames with non-extension dots in them (#250)
- Import
Promisewhere used, for Node 0.10 support (#254) - Allow asynchronous transformer plugins (#260)
- Don't assume re-exported bindings are globals when deconflicting (#267)
0.20.3
- Fix bug where multiple
export *declarations caused error (#244) - Missing namespace exports are a warning, not an error (#244)
- Plugins can provide
bannerandfooteroptions (string, or function that returns a string) (#235) - Warn on encountering
eval(#186)
0.20.2
- Handle errors in build config file
- More robust deconflicting, in cases where e.g.
foo$1already exists - Use Rollup CLI for own build process
0.20.1
- Support
--configfile to enable plugins with CLI (#226) - Prevent
defaultbeing used as variable name (#215) - Update deps
0.20.0
- Support for plugins (#207)
- BREAKING –
options.transform,options.load,options.resolveId,options.resolveExternalandoptions.externalare no longer supported, and should be handled by plugins. More info - BREAKING – the .js extension is only added if it looks like there's no extension, allowing e.g.
import data from 'data.json'(with the appropriate transformer). For safety, always include the file extension – import./foo.js, not./foo
0.19.2
- Fix exporting namespaces to include all of their exports (#204)
- Namespace exotic objects are frozen to ensure that its properties cannot be modified, reconfigured, redefined or deleted (#203)
- Fix
ReferenceError: Promise is not definedin node v0.10 (#189)
0.19.1
- Fix
module.basename()when used with customresolveIdfunction - Use rollup-babel to build self
- Exposed the version string through the API:
require( 'rollup' ).VERSION
0.19.0
- breaking The
transformoption is no longer passed through to custom loaders. Loaders should only concern themselves with providing source code; transformation will always take place options.transformfunctions can return a string, or a{code, map, ast}object. Where possible, sourcemap chains will be flattened (#175)options.resolveId,options.resolveExternalandoptions.loadcan 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
introandoutrooptions – similar tobannerandfooterexcept 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
0.18.5
- Allow namespaces to be assigned to variables (#168)
- Promote
chalkandsource-map-supporttodependencies, as they're used by the CLI (#167)
0.18.4
- Make external modules configurable (i.e.
external.config.foo = 'bar') without erroring
0.18.3
- Crop indent exclusion ranges to exclude enclosing quotes (#166)
0.18.2
- Include definitions of namespace members that are exported as defaults
0.18.1
- Include
acorn.parsein bundle, removesanderfrom dependencies, simplify build
0.18.0
- Internal rewrite
- Reinstate statically-analysable namespace imports
- Avoid using getters in namespace blocks where possible (#144)
- Track variable aliases (#96)
- Prevent multiline strings being indented (#164)
0.17.4
- Allow imports from hidden directories (replay of #133)
0.17.3
- Handle parenthesised default exports (#136)
0.17.2
- Allow use of scoped npm packages (#131)
0.17.1
- Allow namespaces to be passed to a function (#149)
0.17.0
- Roll back to 0.15.0 and reapply subsequent fixes pending resolution of (#132) and related issues
0.16.4
- Fix import paths with
.(#133) - Prevent sourceMappingURL confusion leading to broken sourcemap
- Add code coverage reporting #130)
- Add
modulesproperty to user-facingbundle– an array with{id}objects (#128)
0.16.3
- Prevent adjacent blocks of multiple var declarations causing magic-string failure (#105)
0.16.2
- Top-level function calls and assignments to globals are treated as side-effects, and always included
- Import files from subdirectories of external packages, e.g.
import mod from 'foo/sub/mod'(#126)
0.16.1
- Handle assignment patterns, and destructured/rest parameters, when analysing scopes
- Fix bug preventing project from self-building (make base
Identifierclass markable)
0.16.0
- Internal refactoring (#99)
- Optimisation for statically-analysable namespace imports (#99)
- Windows support (theoretically!) (#117 / #119)
0.15.0
- Load all modules specified by
importstatements, and do tree-shaking synchronously once loading is complete. This results in simpler and faster code, and enables future improvements (#97) - Only rewrite
fooasexports.foowhen it makes sense to (#92) - Fix bug with shadowed variables that are eventually exported (#91)
- Exclude unused function declarations that happen to modify a used name (#90)
- Simplify internal
Scopemodel – scopes always attach to blocks, never function expressions/declarations
0.14.1
export { name } from './other'does not create a local binding (#16)- A single binding can be exported under multiple names (#18)
useStrictoption exposed to CLI as--strict/--no-strict(#81)- Neater exports from ES6 bundles
0.14.0
- Internal refactoring
- Correctly deconflict generated default export names (#72)
- Handle
export { x } from 'y'declarations (#74) - Dedupe named imports from external modules in ES6 bundles (#77)
0.13.0
- Support
bannerandfooteroptions (#66) - Remove pre-existing sourcemap comments (#66)
- Deconflict external imports (#66)
- Use existing AST, if provided (#66)
- Rename internal namespace exports as appropriate (#66)
- Remove uninitialised var declarations that get exported (#66)
- Rename variables named
exportsto avoid conflicts (#66)
0.12.1
- Don't attempt to mark statements belonging to external modules (#68)
- Correctly deshadow variables that conflict with imports (#68)
0.12.0
- Internal re-architecting, resulting in more efficient bundling with reduced memory usage
- Shorthand properties are expanded if necessary (#61)
- Fixed various bugs with bundle external dependencies, particularly when generating ES6 bundles (#59)
- Add
--globalsoption to CLI (#60) - Allow imports of external modules for side-effects (#55)
- Prevent Rollup hanging on non-existent external module (#54)
0.11.4
- Side-effect preservation applies to internal default exports (#43)
0.11.3
- Class methods are not incorrectly renamed (#42)
- External modules are assigned names before canonical names are determined (#42)
0.11.2
- Correctly handle computed properties (e.g.
foo[bar]) when discovering dependencies (#47)
0.11.1
- Support for
export * from '..'(#46)
0.11.0
- Experimental browser-friendly build (
dist/rollup.browser.js) (#25) - Internal re-architecting to make discovery process simpler and more performant
- Preservation of side-effects that happen in a separate module to the affected definition (#39)
0.10.0
- Better sorting algorithm – sorting happens at the module level, rather than the statement level. This avoids certain edge cases
- IIFEs are ignored for the purposes of distinguishing between 'strong' and 'weak' dependencies
- Empty
vardeclarations for exported bindings are omitted
0.9.1
- Much faster statement insertion (fixes major 0.9.0 performance regression)
0.9.0
- BREAKING -
resolvePathis nowresolveId. The returnedid(which by default is a filepath) is passed to theloadfunction, which can optionally be overridden, and which is applied to all modules including the entry module. This allows custom resolver and loading logic for integration with third party systems (e.g. JSPM) or, eventually, in-browser usage (#30) - A statement cannot appear after later statements from the same bundle (#34)
- Tricky cyclical dependencies are handled (#36)
sourcemapoption is used by CLI (was omitted previously)
0.8.3
- Correctly rename functions that have arguments with the same name (#32)
- Ensure unused default exports are given a legal name (#33)
0.8.2
- Support
moduleIdandmoduleNamevia CLI (#24)
0.8.1
- Anonymous functions that are exported as default are converted to named function declarations for correct hoisting, rather than being bound to functions (#29)
- Automatically-generated default export names are deconflicted with local definitions (#29)
0.8.0
- Top-level variable declarations with multiple declarators are split up, to avoid unnecessary code importing and incorrectly-ordered statements (#26)
thisat the top level isundefined(#28)
0.7.8
- Avoid using
path.parse- unsupported in node 0.10
0.7.7
- Promise
source-map-supportfromdevDependenciestodependencies(#23)
0.7.6
- Better placement of
export defaultstatements (#21) - Prevent function calls and property assignments from being treated as rebinding for sake of unbound default exports
- Add
--external foo,bar,bazoption to CLI (equivalent toexternal: ['foo', 'bar', 'baz']) - Add CLI tests
0.7.5
- Prevent accidental conflicts with the global namespace (#20)
0.7.4
- More precise statement re-ordering to satisfy
export defaultconstraint (fixes bug introduced in 0.7.3)
0.7.3
- Default exports are not bound. To enable this, statements within a module are sorted to retain their original order (#15)
- Better positioning of comments (#14)
- Various fixes to get Travis-CI rigged up
0.7.2
- Fix sourcemap paths on Windows (#6)
0.7.1
- Named functions can be used as default exports from a bundle
- Method calls are assumed to mutate the owner (i.e.
foo.bar()mutatesfoo) (#13) options.indentcan be used to control indentation of resulting bundle.options.true(default) means 'auto',options.falsemeans empty string. Alternatively specify whitespace e.g.' 'or'\t'(#5)
0.7.0
- Ensure statements are always separated by a newline (#9)
- Use CommonJS
exportscorrectly (UMD exports) - Throw error if
moduleNameis required but missing (UMD exports) - Attach IIFE global to
thisrather thanwindow - Allow names inside bundle to the the names of
Object.prototypeproperties (#12) - Keep exports live (#11)
0.6.5
- Add sourceMappingURL comment to code, as appropriate
- Higher resolution sourcemaps
0.6.4
- Fix CJS bundling with default export
0.6.3
- Fix exports and external module imports with some output formats
- Fix endless cycle bug on Windows (#3) - thanks @Bobris
0.6.2
- Permit assignments to properties of imported bindings
0.6.1
- Support for basic transformers
0.6.0
- BREAKING -
rollup.rollupandbundle.writeboth take a single options argument - BREAKING - external modules must be declared upfront with
options.external: [...] - Non-relative module paths will be resolved by looking for
jsnext:mainfields in the appropriatepackage.jsonfiles. This behaviour can be overridden by passing an alternativeresolveExternalfunction - Fix sourcemap options
- Include CLI files in npm package (duh)
0.5.0
- Command line interface
- Sourcemap generation
- Correct behaviour with
export { x as y } from 'z'
0.4.1
- More import name deconflicting
0.4.0
- Self-hosting!
rollup.rollupnow rolls up rollup - Fix bug with comments inside a statement later being appended to it
- Prevent shadowing of external modules
- Rewrite computed property identifiers where necessary
- Preserve original statement order where possible
- Internal refactoring
0.3.1
- Saner deconflicting
- Rename namespace imports from external modules correctly
0.3.0
- Basic functionality present, mostly spec-compliant
0.2.1
- Include dist files in npm package (duh)
0.2.0
- First release capable of doing anything useful
- Still lots of basic functionality missing
0.1.0
- Initial experiment