Skip to content

Commit eec511d

Browse files
babel config for logical-assignment-operators
1 parent 799d123 commit eec511d

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

Apps/Playground/0.65/babel.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ module.exports = {
33
'module:metro-react-native-babel-preset',
44
['@babel/preset-typescript', {allowDeclareFields: true}],
55
],
6+
plugins:
7+
["@babel/plugin-proposal-logical-assignment-operators"],
68
};

Apps/Playground/0.65/package-lock.json

Lines changed: 15 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Apps/Playground/0.65/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"dependencies": {
1717
"@babylonjs/core": "5.27.0",
1818
"@babylonjs/loaders": "5.27.0",
19+
"@babylonjs/playground-shared": "file:../playground-shared",
1920
"@babylonjs/react-native": "file:../../../Modules/@babylonjs/react-native",
2021
"@babylonjs/react-native-iosandroid": "file:../../../Modules/@babylonjs/react-native-iosandroid",
2122
"@babylonjs/react-native-windows": "file:../../../Modules/@babylonjs/react-native-windows",
22-
"@babylonjs/playground-shared": "file:../playground-shared",
2323
"@react-native-community/slider": "^4.0.0-rc.3",
2424
"react": "17.0.2",
2525
"react-native": "0.65.0",
@@ -28,19 +28,20 @@
2828
},
2929
"devDependencies": {
3030
"@babel/core": "^7.12.9",
31+
"@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
3132
"@babel/runtime": "^7.12.5",
3233
"@react-native-community/eslint-config": "^2.0.0",
34+
"@typescript-eslint/eslint-plugin": "^4.28.3",
35+
"@typescript-eslint/parser": "^4.28.3",
3336
"babel-jest": "^26.6.3",
37+
"chalk": "^4.1.1",
3438
"eslint": "7.14.0",
3539
"jest": "^26.6.3",
40+
"metro-config": "^0.64.0",
3641
"metro-react-native-babel-preset": "^0.66.0",
42+
"prettier": "^2.0.4",
3743
"react-native-codegen": "^0.0.7",
3844
"react-test-renderer": "17.0.2",
39-
"@typescript-eslint/eslint-plugin": "^4.28.3",
40-
"@typescript-eslint/parser": "^4.28.3",
41-
"chalk": "^4.1.1",
42-
"metro-config": "^0.64.0",
43-
"prettier": "^2.0.4",
4445
"shelljs": "^0.8.4",
4546
"typescript": "^4.3.5"
4647
},

0 commit comments

Comments
 (0)