web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
4.5 KiB

  1. ## 4.3.2
  2. - Fixed usage with `externalHelpers: true` option
  3. ## 4.3.1
  4. - Add `.js` extension to the virtual babel helpers file (only matters when using `preserveModules` option in rollup)
  5. ## 4.3.0
  6. - Added `.custom` builder.
  7. - Fail build when a plugin tries to add non existent babel helper
  8. ## 4.2.0
  9. Allow `rollup@1` as peer dependency.
  10. ## 4.1.0
  11. - Fixed "preflight check" for ignored files.
  12. - Return `null` when no transformation has been done (fixing source maps for this case)
  13. ## 4.0.3
  14. Fixed fallback class transform in "preflight check".
  15. ## 4.0.2
  16. Fixed `rollup` peer dependency.
  17. ## 4.0.0
  18. Babel 7 compatible! (dropped Babel 6 compatibility though).
  19. Additionally:
  20. - 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
  21. - 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.
  22. ## 3.0.3
  23. - Drop babel7 support. Use 4.0.0-beta if you use babel 7
  24. - Use "module" in addition to "jsnext:main" ([#150](https://github.com/rollup/rollup-plugin-babel/issues/150))
  25. - Remove unused babel helpers namespace declaration & expression ([#164](https://github.com/rollup/rollup-plugin-babel/issues/164))
  26. ## 3.0.2
  27. - Fix regression with Babel 6 ([#158](https://github.com/rollup/rollup-plugin-babel/issues/158))
  28. ## 3.0.1
  29. - Wasn't working, fix bug with transform (not using es2015-classes for preflight check)
  30. ## 3.0.0
  31. - Drop Node 0.10/0.12 (Use native `Object.assign`)
  32. - Change `babel-core` to be a peerDependency
  33. - Support `babel-core` v7 as well as a peerDep (no changes necessary)
  34. ## 2.7.1
  35. - Prevent erroneous warnings about duplicated runtime helpers ([#105](https://github.com/rollup/rollup-plugin-babel/issues/105))
  36. - Ignore `ignore` option in preflight check ([#102](https://github.com/rollup/rollup-plugin-babel/issues/102))
  37. - Allow custom `moduleName` with `runtime-helpers` ([#95](https://github.com/rollup/rollup-plugin-babel/issues/95))
  38. ## 2.7.0
  39. - Add `externalHelpersWhitelist` option ([#92](https://github.com/rollup/rollup-plugin-babel/pull/92))
  40. - Ignore `only` option during preflight checks ([#98](https://github.com/rollup/rollup-plugin-babel/issues/98))
  41. - Use `options.onwarn` if available ([#84](https://github.com/rollup/rollup-plugin-babel/issues/84))
  42. - Update documentation and dependencies
  43. ## 2.6.1
  44. - Return a `name`
  45. ## 2.6.0
  46. - Use `\0` convention for helper module ID ([#64](https://github.com/rollup/rollup-plugin-babel/issues/64))
  47. ## 2.5.1
  48. - Don't mutate `options.plugins` ([#47](https://github.com/rollup/rollup-plugin-babel/issues/47))
  49. ## 2.5.0
  50. - Import `babelHelpers` rather than injecting them – allows `transform` function to be pure ([#rollup/658](https://github.com/rollup/rollup/pull/658#issuecomment-223876824))
  51. ## 2.4.0
  52. - Add `externalHelpers` option ([#41](https://github.com/rollup/rollup-plugin-babel/pull/41))
  53. ## 2.3.9
  54. - Do not rename Babel helpers ([#34](https://github.com/rollup/rollup-plugin-babel/pull/34))
  55. ## 2.3.8
  56. - Create new version to (hopefully) solve bizarre CI issue
  57. ## 2.3.7
  58. - Be less clever about renaming Babel helpers ([#19](https://github.com/rollup/rollup-plugin-babel/issues/19))
  59. ## 2.3.6
  60. - Fix cache misses in preflight check ([#29](https://github.com/rollup/rollup-plugin-babel/pull/29))
  61. ## 2.3.5
  62. - Use class transformer local to plugin, not project being built
  63. ## 2.3.4
  64. - Ensure class transformer is present for preflight check, and only run check once per directory ([#23](https://github.com/rollup/rollup-plugin-babel/issues/23))
  65. ## 2.3.3
  66. - Fix helper renaming ([#22](https://github.com/rollup/rollup-plugin-babel/issues/22))
  67. ## 2.3.1-2
  68. - Include correct files in npm package
  69. ## 2.3.0
  70. - Allow `transform-runtime` Babel plugin, if combined with `runtimeHelpers: true` option ([#17](https://github.com/rollup/rollup-plugin-babel/issues/17))
  71. - More permissive handling of helpers – only warn if inline helpers are duplicated
  72. - Handle plugins that change export patterns ([#18](https://github.com/rollup/rollup-plugin-babel/issues/18))
  73. ## 2.2.0
  74. - Preflight checks are run per-file, to avoid configuration snafus ([#16](https://github.com/rollup/rollup-plugin-babel/issues/16))
  75. ## 2.1.0
  76. - Generate sourcemaps by default
  77. ## 2.0.1
  78. - Use object-assign ponyfill
  79. - Add travis support
  80. - Fix test
  81. ## 2.0.0
  82. - Babel 6 compatible
  83. ## 1.0.0
  84. - First release