Skip to content

Commit

Permalink
Remove babel transforms for ?? .? &&= ||= (#470)
Browse files Browse the repository at this point in the history
These are supported natively in the latest versions of the major browsers.
Cleans up the generated code a bit.
  • Loading branch information
kainino0x authored Feb 24, 2021
1 parent 8fd2ac2 commit f25e6ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 105 deletions.
3 changes: 0 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ module.exports = function (api) {
return {
presets: ['@babel/preset-typescript'],
plugins: [
'@babel/plugin-proposal-logical-assignment-operators',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-optional-chaining',
'const-enum',
[
'add-header-comment',
Expand Down
99 changes: 0 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-logical-assignment-operators": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@types/babel__core": "^7.1.12",
"@types/express": "^4.17.9",
Expand Down

0 comments on commit f25e6ca

Please sign in to comment.