From 57dd89f18eda3154fa8e020ade766aaf54acd0a5 Mon Sep 17 00:00:00 2001 From: Josh Schmidt Date: Thu, 19 Oct 2023 11:21:49 -0600 Subject: [PATCH] @babel/plugin-transform-class-properties instead of @babel/plugin-proposal-class-properties --- .config/babel.config.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/babel.config.json b/.config/babel.config.json index 5d321a38..59888a00 100644 --- a/.config/babel.config.json +++ b/.config/babel.config.json @@ -4,14 +4,14 @@ [ "@babel/preset-env", { - loose: true, - bugfixes: true, - modules: false + "loose": true, + "bugfixes": true, + "modules": false } ], "@babel/typescript" ], "plugins": [ - ["@babel/plugin-proposal-class-properties", { "loose": true }] + ["@babel/plugin-transform-class-properties", { "loose": true }] ] } diff --git a/package.json b/package.json index 25dedb0a..b6033e92 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@11ty/eleventy": "^2.0.1", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "@babel/core": "^7.23.2", - "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-class-properties": "^7.22.5", "@babel/preset-env": "^7.23.2", "@babel/preset-typescript": "^7.23.2", "@lodder/grunt-postcss": "^3.0.0",