Skip to content

Commit

Permalink
Use compiler assumptions (#109)
Browse files Browse the repository at this point in the history
* Use compiler assumptions

* Update snapshots

* Disable some assumptions

* Remove preset option

* Remove loose docs from readme

* Add test

* Add comment to assumptions declaration

* Simplify test suite macro
  • Loading branch information
billyjanitsch authored May 25, 2021
1 parent 4b37790 commit a5d3421
Show file tree
Hide file tree
Showing 4 changed files with 643 additions and 587 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ Default: `['@babel/plugin-proposal-optional-chaining', '@babel/plugin-proposal-n

List of plugins to always include. Forwarded to [the corresponding option in `@babel/preset-env`](https://babeljs.io/docs/en/babel-preset-env#include).

### `loose`

`true` | `false`<br />
Default: `true`

Whether to enable [loose mode](http://2ality.com/2015/12/babel6-loose-mode.html) in all presets/plugins that support this option.

### `modules`

`false` | `'commonjs'`<br />
Expand Down
Loading

0 comments on commit a5d3421

Please sign in to comment.