Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Updated babel.config.js to replace deprecated params.

Jason Hurley2b38c84fea15
diff --git a/babel.config.js b/babel.config.js
index 9aa98410b..ed874aff2 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -3,18 +3,8 @@ module.exports = {
'@babel/preset-env',
['@babel/preset-react', { runtime: 'automatic' }],
],
- plugins: [
- [
- '@babel/plugin-transform-class-properties',
- {
- loose: true
- }
- ],
- [
- '@babel/plugin-transform-private-methods',
- {
- loose: true
- }
- ]
- ]
+ assumptions: {
+ setPublicClassFields: true,
+ privateFieldsAsProperties: true,
+ }
}