- Fixed usage with
externalHelpers: true
option
- Add
.js
extension to the virtual babel helpers file (only matters when usingpreserveModules
option in rollup)
- Added
.custom
builder. - 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
null
when 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
extensions
option. 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-core
to be a peerDependency - Support
babel-core
v7 as well as a peerDep (no changes necessary)
- Prevent erroneous warnings about duplicated runtime helpers (#105)
- Ignore
ignore
option in preflight check (#102) - Allow custom
moduleName
withruntime-helpers
(#95)
- Add
externalHelpersWhitelist
option (#92) - Ignore
only
option during preflight checks (#98) - Use
options.onwarn
if available (#84) - Update documentation and dependencies
- Return a
name
- Use
\0
convention for helper module ID (#64)
- Don't mutate
options.plugins
(#47)
- Import
babelHelpers
rather than injecting them – allowstransform
function to be pure (#rollup/658)
- Add
externalHelpers
option (#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-runtime
Babel plugin, if combined withruntimeHelpers: true
option (#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