- Fixed usage with
externalHelpers: trueoption
- Add
.jsextension to the virtual babel helpers file (only matters when usingpreserveModulesoption in rollup)
- Added
.custombuilder. - Fail build when a plugin tries to add non existent babel helper
Allow rollup@1 as peer dependency.
- Fixed "preflight check" for ignored files.
- Return
nullwhen no transformation has been done (fixing source maps for this case)
Fixed fallback class transform in "preflight check".
Fixed rollup peer dependency.
Babel 7 compatible! (dropped Babel 6 compatibility though).
Additionally:
- Internal preflight checks are created now per plugin instance, so using 2 instances of rollup-plugin-babel (i.e. targeting 2 different set of files with include/exclude options) shouldn't conflict with each other
- Transpiling by default only what Babel transpiles - files with those extensions: .js, .jsx, .es6, .es, .mjs. You can customize this with new
extensionsoption. This also fixes long standing issue with rollup-plugin-babel trying to transform JSON files.
- Drop babel7 support. Use 4.0.0-beta if you use babel 7
- Use "module" in addition to "jsnext:main" (#150)
- Remove unused babel helpers namespace declaration & expression (#164)
- Fix regression with Babel 6 (#158)
- Wasn't working, fix bug with transform (not using es2015-classes for preflight check)
- Drop Node 0.10/0.12 (Use native
Object.assign) - Change
babel-coreto be a peerDependency - Support
babel-corev7 as well as a peerDep (no changes necessary)
- Prevent erroneous warnings about duplicated runtime helpers (#105)
- Ignore
ignoreoption in preflight check (#102) - Allow custom
moduleNamewithruntime-helpers(#95)
- Add
externalHelpersWhitelistoption (#92) - Ignore
onlyoption during preflight checks (#98) - Use
options.onwarnif available (#84) - Update documentation and dependencies
- Return a
name
- Use
\0convention for helper module ID (#64)
- Don't mutate
options.plugins(#47)
- Import
babelHelpersrather than injecting them – allowstransformfunction to be pure (#rollup/658)
- Add
externalHelpersoption (#41)
- Do not rename Babel helpers (#34)
- Create new version to (hopefully) solve bizarre CI issue
- Be less clever about renaming Babel helpers (#19)
- Fix cache misses in preflight check (#29)
- Use class transformer local to plugin, not project being built
- Ensure class transformer is present for preflight check, and only run check once per directory (#23)
- Fix helper renaming (#22)
- Include correct files in npm package
- Allow
transform-runtimeBabel plugin, if combined withruntimeHelpers: trueoption (#17) - More permissive handling of helpers – only warn if inline helpers are duplicated
- Handle plugins that change export patterns (#18)
- Preflight checks are run per-file, to avoid configuration snafus (#16)
- Generate sourcemaps by default
- Use object-assign ponyfill
- Add travis support
- Fix test
- Babel 6 compatible
- First release