- Fix magic-string deprecation warning
- Avoid using
index
as a variable name (#208)
- Compatibility with 0.48 (#220)
- Fix another
var
rewrite bug (#181)
- Remove declarators within a var declaration correctly (#179)
- Prefer the names dependencies are imported by for the common
var foo = require('foo')
pattern (#176)
- Allow certain
require
statements to pass through unmolested (#174)
- Handle duplicate default exports (#158)
- Fix exports with parentheses (#168)
- Rewrite
typeof module
,typeof module.exports
andtypeof exports
as'object'
(#151)
- Don't overwrite globals (#127)
- Rewrite top-level
define
asundefined
, so AMD-first UMD blocks do not cause breakage (#144) - Support ES2017 syntax (#132)
- Deconflict exported reserved keywords (#116)
- Fix parenthesis wrapped exports (#120)
- Ensure named exports are added to default export in optimised modules (#112)
- Respect custom
namedExports
in optimised modules (#35)
- Deconflict against globals (#84)
- Optimise modules that don't need to be wrapped in a function (#106)
- Ignore modules containing
import
andexport
statements (#96)
- Ignore dead branches (#93)
- Fix
ignoreGlobal
option (#86)
- Better interop and smaller output (#92)
- Deconflict export and local module (rollup/rollup#554)
- Use named exports as a function when no default export is defined (#524)
- Replace
typeof require
with'function'
(#38) - Don't attempt to resolve entry file relative to importer (#63)
- Handle multiple references to
global
- Return a
name
- Make
transform
stateless (#71) - Support web worker
global
(#50) - Ignore global with
options.ignoreGlobal
(#48)
- Prevent false positives with
namedExports
(#36)
- Rewrite top-level
this
expressions to mean the same asglobal
(#31)
- Optimised module wrappers (#20)
- Allow control over named exports via
options.namedExports
(#18) - Handle bare imports correctly (#23)
- Blacklist all reserved words as export names (#21)
- Configure allowed file extensions via
options.extensions
(#27)
- Support for transpiled modules –
exports.default
is used as the default export in place ofmodule.exports
, if applicable, and__esModule
is not exported (#16)
- Generate sourcemaps by default
- Handle references to
global
(#6)
- Generate named exports where possible (#5)
- Handle shadowed
require
/module
/exports
- Handle dots in filenames (#3)
- Wrap modules in IIFE for more readable output
- Stable release, now that Rollup supports plugins
- Allow mixed CommonJS/ES6 imports/exports
- Use
var
instead oflet
- Sourcemap support
- Support
options.include
andoptions.exclude
- Bail early if module is obviously not a CommonJS module
Add dist files to package (whoops!)
- First release