Skip to content

Commit db1c143

Browse files
authored
Create 02.md (#111)
1 parent 8c7a15e commit db1c143

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: 2020/04/02.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 4/2
2+
3+
## [Attendees](https://babeljs.io/team):
4+
5+
- Nicolò ([@nicolo-ribaudo](https://github.com/nicolo-ribaudo))
6+
- Jùnliàng ([@JLHwung](https://github.com/JLHwung))
7+
- Kai ([@kaicataldo](https://github.com/kaicataldo))
8+
- Henry ([@hzoo](https://github.com/hzoo))
9+
10+
---
11+
12+
> Notes may have some mistakes, conversational!
13+
14+
- Nicolò: We should contact specific teams about new versioning ideas (relating to semver) for feedback (Next.js, Gatsby, CRA, anyone who uses us as a dependency directly) since they deal with these problems themselves (and because we break them due to how things currently work)
15+
- One idea is to require the same minor versions of packages because of unintended breaking changes due to dependencies. (require all Babel dependencies to be updated, so if `@babel/core` is 7.9, every preset/plugin needs to be as well).
16+
- For context: if we introduce a new feature in core or a new helper, we can't use that feature in a plugin/preset/dep because someone's core might not be the updated.
17+
- Henry: Having less packages helps too. On a related note.. in Babel 8 maybe we should just move `targets` to be a top level option in the config vs. in `preset-env`. And further, might as well move `preset-env` into `babel/core` like we've been wanting to?
18+
- Also easier to convince people to move off of old integrations with `preset-env`
19+
- Nicolò: Don't need to specify the `targets` option multiple times (like for the new polyfill feature)
20+
- The new default option `targets: false` could explicitly not transpile for those that need that: codemods, other languages like php, fable. This would be the the opposite of current behavior where the default is essentially `preset-latest` which compiles everything.
21+
- Make it easier to use `loose` mode options: more granular?
22+
- Maybe do this by introducing it via an assumption of capabilities. Can document this on a website and associate them with test cases (our own loose mode tests or `test262`).
23+
- We have an example of this already in use: `assumeArray` option for `for-of` plugin.
24+
- If the only `spec` option is for arrow functions, maybe we can remove the option entirely?
25+
- We can stay reasonable spec compliant by default, and allow opt-in for specifically non-spec.
26+
- Update: polyfilling integration is almost done
27+
- Reconsider single babel package idea yet again?

0 commit comments

Comments
 (0)