Skip to content

Commit

Permalink
Revert "chore: remove syntax meta from @babel/standalone"
Browse files Browse the repository at this point in the history
This reverts commit 30ef11d.
  • Loading branch information
JLHwung committed Sep 29, 2020
1 parent ae7ee01 commit a4b335c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-standalone/package.json
Expand Up @@ -41,6 +41,7 @@
"@babel/plugin-syntax-flow": "workspace:^7.10.4",
"@babel/plugin-syntax-function-bind": "workspace:^7.10.4",
"@babel/plugin-syntax-function-sent": "workspace:^7.10.4",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-jsx": "workspace:^7.10.4",
"@babel/plugin-syntax-module-attributes": "workspace:^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
Expand Down
1 change: 1 addition & 0 deletions packages/babel-standalone/scripts/pluginConfig.json
Expand Up @@ -9,6 +9,7 @@
"syntax-flow",
"syntax-function-bind",
"syntax-function-sent",
"syntax-import-meta",
"syntax-jsx",
"syntax-module-attributes",
"syntax-object-rest-spread",
Expand Down
3 changes: 3 additions & 0 deletions packages/babel-standalone/src/generated/plugins.js
Expand Up @@ -13,6 +13,7 @@ import syntaxExportDefaultFrom from "@babel/plugin-syntax-export-default-from";
import syntaxFlow from "@babel/plugin-syntax-flow";
import syntaxFunctionBind from "@babel/plugin-syntax-function-bind";
import syntaxFunctionSent from "@babel/plugin-syntax-function-sent";
import syntaxImportMeta from "@babel/plugin-syntax-import-meta";
import syntaxJsx from "@babel/plugin-syntax-jsx";
import syntaxModuleAttributes from "@babel/plugin-syntax-module-attributes";
import syntaxObjectRestSpread from "@babel/plugin-syntax-object-rest-spread";
Expand Down Expand Up @@ -105,6 +106,7 @@ export {
syntaxFlow,
syntaxFunctionBind,
syntaxFunctionSent,
syntaxImportMeta,
syntaxJsx,
syntaxModuleAttributes,
syntaxObjectRestSpread,
Expand Down Expand Up @@ -198,6 +200,7 @@ export const all = {
"syntax-flow": syntaxFlow,
"syntax-function-bind": syntaxFunctionBind,
"syntax-function-sent": syntaxFunctionSent,
"syntax-import-meta": syntaxImportMeta,
"syntax-jsx": syntaxJsx,
"syntax-module-attributes": syntaxModuleAttributes,
"syntax-object-rest-spread": syntaxObjectRestSpread,
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Expand Up @@ -1537,6 +1537,17 @@ __metadata:
languageName: unknown
linkType: soft

"@babel/plugin-syntax-import-meta@npm:^7.10.4":
version: 7.10.4
resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4"
dependencies:
"@babel/helper-plugin-utils": ^7.10.4
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 685ee8f0b5b675952e02e1cabcde4d92638918a66ed515b2663e2e0b2246210a0768325423d5642f8687653a449357826675ccfcb712676be260a0ae13313828
languageName: node
linkType: hard

"@babel/plugin-syntax-json-strings@npm:^7.8.0":
version: 7.8.3
resolution: "@babel/plugin-syntax-json-strings@npm:7.8.3"
Expand Down Expand Up @@ -3168,6 +3179,7 @@ __metadata:
"@babel/plugin-syntax-flow": "workspace:^7.10.4"
"@babel/plugin-syntax-function-bind": "workspace:^7.10.4"
"@babel/plugin-syntax-function-sent": "workspace:^7.10.4"
"@babel/plugin-syntax-import-meta": ^7.10.4
"@babel/plugin-syntax-jsx": "workspace:^7.10.4"
"@babel/plugin-syntax-module-attributes": "workspace:^7.10.4"
"@babel/plugin-syntax-object-rest-spread": ^7.8.0
Expand Down

0 comments on commit a4b335c

Please sign in to comment.