Skip to content

Commit 9da426a

Browse files
Ali(Ako) Hosseinimatin-deriv
Ali(Ako) Hosseini
andauthored
fix: add proposal-private-method to silence the loose mode error (deriv-com#4234)
Co-authored-by: Matin shafiei <[email protected]>
1 parent 3380b15 commit 9da426a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

babel.config.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"plugins": [
44
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
["@babel/plugin-proposal-class-properties", { "loose": true }],
6+
["@babel/plugin-proposal-private-methods", { "loose": true }],
67
"@babel/plugin-proposal-export-default-from",
78
"@babel/plugin-proposal-object-rest-spread",
89
"@babel/plugin-proposal-export-namespace-from",

packages/cashier/babel.config.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"plugins": [
44
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
["@babel/plugin-proposal-class-properties", { "loose": true }],
6+
["@babel/plugin-proposal-private-methods", { "loose": true }],
67
"@babel/plugin-proposal-export-default-from",
78
"@babel/plugin-proposal-object-rest-spread",
89
"@babel/plugin-proposal-export-namespace-from",

packages/core/babel.config.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"plugins": [
44
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
["@babel/plugin-proposal-class-properties", { "loose": true }],
6+
["@babel/plugin-proposal-private-methods", { "loose": true }],
67
"@babel/plugin-proposal-export-default-from",
78
"@babel/plugin-proposal-object-rest-spread",
89
"@babel/plugin-proposal-export-namespace-from",

packages/dashboard/babel.config.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"plugins": [
44
["@babel/plugin-proposal-decorators", { "legacy": true }],
55
["@babel/plugin-proposal-class-properties", { "loose": true }],
6+
["@babel/plugin-proposal-private-methods", { "loose": true }],
67
"@babel/plugin-proposal-export-default-from",
78
"@babel/plugin-proposal-object-rest-spread",
89
"@babel/plugin-proposal-export-namespace-from",

0 commit comments

Comments
 (0)