Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3300779
D13927.id45848.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
657 B
Referenced Files
None
Subscribers
None
D13927.id45848.diff
View Options
diff --git a/keyserver/.babelrc.cjs b/keyserver/.babelrc.cjs
--- a/keyserver/.babelrc.cjs
+++ b/keyserver/.babelrc.cjs
@@ -1,5 +1,8 @@
module.exports = {
- presets: ['@babel/preset-react', '@babel/preset-flow'],
+ presets: [
+ ['@babel/preset-react', { runtime: 'automatic' }],
+ '@babel/preset-flow'
+ ],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
diff --git a/keyserver/.flowconfig b/keyserver/.flowconfig
--- a/keyserver/.flowconfig
+++ b/keyserver/.flowconfig
@@ -15,6 +15,7 @@
[options]
enums=true
+react.runtime=automatic
module.file_ext=.js
module.file_ext=.cjs
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 9:49 PM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535342
Default Alt Text
D13927.id45848.diff (657 B)
Attached To
Mode
D13927: [keyserver] Have @babel/preset-react use automatic runtime
Attached
Detach File
Event Timeline
Log In to Comment