Build plugins with ES2021
Summary: Starting small as this will unblock D48642120. If it works without causing any issues, I'll update the remaining ones. We're on Node v18 everywhere now, so this should be compatible. According to https://node.green/ that should cover nearly everything. Reviewed By: lblasa Differential Revision: D48683680 fbshipit-source-id: 26d2788468b673793b70b6339d1845c1dcf7e05d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ff1e6f7784
commit
7ce86869e4
@@ -3,7 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"lib": ["dom", "ES2019"],
|
"lib": ["dom", "ES2021"],
|
||||||
"types": ["jest", "../types/jest-extensions", "react/next", "react-dom/next"]
|
"types": ["jest", "../types/jest-extensions", "react/next", "react-dom/next"]
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"outDir": "lib",
|
"outDir": "lib",
|
||||||
"lib": ["DOM", "ES2019"],
|
"lib": ["DOM", "ES2021"],
|
||||||
// TODO: ideally we'd move those into specific packages
|
// TODO: ideally we'd move those into specific packages
|
||||||
"types": [
|
"types": [
|
||||||
"../types/ReactDebounceRender",
|
"../types/ReactDebounceRender",
|
||||||
|
|||||||
Reference in New Issue
Block a user