From 2d1ed433123a8e8fb821022539a8fd01aa75ca82 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Sat, 22 Nov 2025 23:37:34 +0100 Subject: [PATCH] Refactor babel.config.js: Simplify Babel preset configuration by using the package name instead of a direct path for improved readability and maintainability. --- babel.config.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/babel.config.js b/babel.config.js index afd2f2d..3f453d4 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,9 +1,5 @@ -const path = require('path'); - module.exports = { presets: [ - // Direkten Pfad zum Preset verwenden, damit es auch bei Problemen - // mit der Modulauflösung (Node-/npm-Versionen) zuverlässig gefunden wird. - path.resolve(__dirname, 'node_modules/@vue/cli-plugin-babel/preset') + '@vue/cli-plugin-babel/preset' ] };