@rollup/plugin-babel 5.3.1 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md DELETED
@@ -1,292 +0,0 @@
1
- # @rollup/plugin-babel ChangeLog
2
-
3
- ## v5.3.1
4
-
5
- _2022-02-22_
6
-
7
- ### Bugfixes
8
-
9
- - fix: consider path delimeter on windows (#1090)
10
-
11
- ## v5.3.0
12
-
13
- _2021-02-14_
14
-
15
- ### Features
16
-
17
- - feat: add custom filter option (#767)
18
- - feat: pass rollup context as this context into override config function (#784)
19
-
20
- ### Updates
21
-
22
- - docs: typo in README.md (#800)
23
- - chore: commit updated readme format (bfda6d8)
24
-
25
- ## v5.2.3
26
-
27
- _2021-01-29_
28
-
29
- ### Updates
30
-
31
- - docs: add usage with commonjs. fixes #622 (6b4b7b6)
32
- - docs: update export in README (#690)
33
-
34
- ## v5.2.2
35
-
36
- _2020-11-30_
37
-
38
- ### Bugfixes
39
-
40
- - fix: clone cached helper identifier before returning it (#584)
41
- - fix: strip hash and query param in extension filter (#533)
42
-
43
- ## v5.2.1
44
-
45
- _2020-09-09_
46
-
47
- ### Updates
48
-
49
- - chore: add deprecation/migration warnings for the runtime (#534)
50
-
51
- ## v5.2.0
52
-
53
- _2020-08-13_
54
-
55
- ### Features
56
-
57
- - feat: `export * as ns` support (#511)
58
-
59
- ### Updates
60
-
61
- - chore: update dependencies (13526d6)
62
-
63
- ## v5.1.0
64
-
65
- _2020-07-12_
66
-
67
- ### Features
68
-
69
- - feat: add typings (#462)
70
-
71
- ### Updates
72
-
73
- - docs: add note about excluding @babel/runtime helpers via regex (#483)
74
-
75
- ## v5.0.4
76
-
77
- _2020-06-22_
78
-
79
- ### Updates
80
-
81
- - docs: remove unused import in "Usage" example (#460)
82
- - docs: update node requirement in readme (#443)
83
- - docs: fix typo in readme (#447)
84
-
85
- ## v5.0.3
86
-
87
- _2020-06-05_
88
-
89
- ### Updates
90
-
91
- - docs: update `babelHelpers` description (#397)
92
-
93
- ## v5.0.2
94
-
95
- _2020-05-20_
96
-
97
- ### Bugfixes
98
-
99
- - fix: use loadPartialConfigAsync when it is available (#359)
100
-
101
- ### Updates
102
-
103
- - docs: Cleanup misleading leftovers in the README (#377)
104
- - docs: correct breaking change note in v5 CHANGELOG (#368)
105
-
106
- ## v5.0.1
107
-
108
- _2020-05-20_
109
-
110
- ### Bugfixes
111
-
112
- - fix: use loadPartialConfigAsync when it is available (#359)
113
-
114
- ### Updates
115
-
116
- - docs: Cleanup misleading leftovers in the README (#377)
117
- - docs: correct breaking change note in v5 CHANGELOG (#368)
118
-
119
- # @rollup/plugin-babel changelog
120
-
121
- ## 5.0.0
122
-
123
- _2020-04-27_
124
-
125
- ### Features
126
-
127
- - Added `getBabelOutputPlugin` and `createBabelOutputPluginFactory` exports which can be used to transform generated code
128
- - Added `skipPreflightCheck` option. The plugin performs some extra checks to see if the passed configuration is correct and matching its expectations. This comes with some runtime overhead and can slow down builds. If you know what you are doing and you are confident that you have configured things correctly you can disable those checks with this option.
129
- - Published as `@rollup/plugin-babel`
130
-
131
- ### Updates
132
-
133
- - Default export exported as `getBabelInputPlugin` for symmetry with `getBabelOutputPlugin`
134
-
135
- ### Breaking Changes
136
-
137
- - Minimum compatible Rollup version is 1.2.0
138
- - Minimum supported Node version is 10.0.0
139
- - `.custom` factory is now available as separate `createBabelInputPluginFactory` export
140
- - Removed `externalHelpers` & `runtimeHelpers` options. There is now a single `babelHelpers` option which can take one of `'bundled'`, `'inline'`, `'runtime'` and `'external'` as a value. The default is `'bundled'` which matches 4.x behavior, but it is recommended to configure this option explicitly.
141
-
142
- ## 4.3.2
143
-
144
- - Fixed usage with `externalHelpers: true` option
145
-
146
- ## 4.3.1
147
-
148
- - Add `.js` extension to the virtual babel helpers file (only matters when using `preserveModules` option in rollup)
149
-
150
- ## 4.3.0
151
-
152
- - Added `.custom` builder.
153
- - Fail build when a plugin tries to add non existent babel helper
154
-
155
- ## 4.2.0
156
-
157
- Allow `rollup@1` as peer dependency.
158
-
159
- ## 4.1.0
160
-
161
- - Fixed "preflight check" for ignored files.
162
- - Return `null` when no transformation has been done (fixing source maps for this case)
163
-
164
- ## 4.0.3
165
-
166
- Fixed fallback class transform in "preflight check".
167
-
168
- ## 4.0.2
169
-
170
- Fixed `rollup` peer dependency.
171
-
172
- ## 4.0.0
173
-
174
- Babel 7 compatible! (dropped Babel 6 compatibility though).
175
-
176
- Additionally:
177
-
178
- - 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
179
- - 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.
180
-
181
- ## 3.0.3
182
-
183
- - Drop babel7 support. Use 4.0.0-beta if you use babel 7
184
- - Use "module" in addition to "jsnext:main" ([#150](https://github.com/rollup/rollup-plugin-babel/issues/150))
185
- - Remove unused babel helpers namespace declaration & expression ([#164](https://github.com/rollup/rollup-plugin-babel/issues/164))
186
-
187
- ## 3.0.2
188
-
189
- - Fix regression with Babel 6 ([#158](https://github.com/rollup/rollup-plugin-babel/issues/158))
190
-
191
- ## 3.0.1
192
-
193
- - Wasn't working, fix bug with transform (not using es2015-classes for preflight check)
194
-
195
- ## 3.0.0
196
-
197
- - Drop Node 0.10/0.12 (Use native `Object.assign`)
198
- - Change `babel-core` to be a peerDependency
199
- - Support `babel-core` v7 as well as a peerDep (no changes necessary)
200
-
201
- ## 2.7.1
202
-
203
- - Prevent erroneous warnings about duplicated runtime helpers ([#105](https://github.com/rollup/rollup-plugin-babel/issues/105))
204
- - Ignore `ignore` option in preflight check ([#102](https://github.com/rollup/rollup-plugin-babel/issues/102))
205
- - Allow custom `moduleName` with `runtime-helpers` ([#95](https://github.com/rollup/rollup-plugin-babel/issues/95))
206
-
207
- ## 2.7.0
208
-
209
- - Add `externalHelpersWhitelist` option ([#92](https://github.com/rollup/rollup-plugin-babel/pull/92))
210
- - Ignore `only` option during preflight checks ([#98](https://github.com/rollup/rollup-plugin-babel/issues/98))
211
- - Use `options.onwarn` if available ([#84](https://github.com/rollup/rollup-plugin-babel/issues/84))
212
- - Update documentation and dependencies
213
-
214
- ## 2.6.1
215
-
216
- - Return a `name`
217
-
218
- ## 2.6.0
219
-
220
- - Use `\0` convention for helper module ID ([#64](https://github.com/rollup/rollup-plugin-babel/issues/64))
221
-
222
- ## 2.5.1
223
-
224
- - Don't mutate `options.plugins` ([#47](https://github.com/rollup/rollup-plugin-babel/issues/47))
225
-
226
- ## 2.5.0
227
-
228
- - Import `babelHelpers` rather than injecting them – allows `transform` function to be pure ([#rollup/658](https://github.com/rollup/rollup/pull/658#issuecomment-223876824))
229
-
230
- ## 2.4.0
231
-
232
- - Add `externalHelpers` option ([#41](https://github.com/rollup/rollup-plugin-babel/pull/41))
233
-
234
- ## 2.3.9
235
-
236
- - Do not rename Babel helpers ([#34](https://github.com/rollup/rollup-plugin-babel/pull/34))
237
-
238
- ## 2.3.8
239
-
240
- - Create new version to (hopefully) solve bizarre CI issue
241
-
242
- ## 2.3.7
243
-
244
- - Be less clever about renaming Babel helpers ([#19](https://github.com/rollup/rollup-plugin-babel/issues/19))
245
-
246
- ## 2.3.6
247
-
248
- - Fix cache misses in preflight check ([#29](https://github.com/rollup/rollup-plugin-babel/pull/29))
249
-
250
- ## 2.3.5
251
-
252
- - Use class transformer local to plugin, not project being built
253
-
254
- ## 2.3.4
255
-
256
- - 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))
257
-
258
- ## 2.3.3
259
-
260
- - Fix helper renaming ([#22](https://github.com/rollup/rollup-plugin-babel/issues/22))
261
-
262
- ## 2.3.1-2
263
-
264
- - Include correct files in npm package
265
-
266
- ## 2.3.0
267
-
268
- - Allow `transform-runtime` Babel plugin, if combined with `runtimeHelpers: true` option ([#17](https://github.com/rollup/rollup-plugin-babel/issues/17))
269
- - More permissive handling of helpers – only warn if inline helpers are duplicated
270
- - Handle plugins that change export patterns ([#18](https://github.com/rollup/rollup-plugin-babel/issues/18))
271
-
272
- ## 2.2.0
273
-
274
- - Preflight checks are run per-file, to avoid configuration snafus ([#16](https://github.com/rollup/rollup-plugin-babel/issues/16))
275
-
276
- ## 2.1.0
277
-
278
- - Generate sourcemaps by default
279
-
280
- ## 2.0.1
281
-
282
- - Use object-assign ponyfill
283
- - Add travis support
284
- - Fix test
285
-
286
- ## 2.0.0
287
-
288
- - Babel 6 compatible
289
-
290
- ## 1.0.0
291
-
292
- - First release