From 06f7bf7a1d07dcace3755b8007f5362cbc6e0614 Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Sun, 1 Dec 2024 14:59:30 +0800 Subject: [PATCH] Update babel.config.js --- babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index a2c3c35..86482de 100644 --- a/babel.config.js +++ b/babel.config.js @@ -15,7 +15,7 @@ module.exports = function(api) { libraryName: 'date-fns', libraryDirectory: '', camel2DashComponentName: false, // default: true - }], + }, 'import-date-fns'], '@babel/plugin-transform-flow-strip-types', ['@babel/plugin-transform-private-methods', { loose: true }], 'babel-plugin-transform-typescript-metadata',