fix(vite): disable babel code size warning (#3265)

This commit is contained in:
Marvin Hagemeister
2025-08-27 09:43:23 +02:00
committed by GitHub
parent 111fe8063d
commit 4803f2d80b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -360,6 +360,7 @@ function babelTransform(
sourceMaps: "inline",
presets: presets,
plugins: [httpAbsolute(url)],
compact: true,
});
if (result !== null && result.code) {
@@ -33,6 +33,7 @@ export function patches(): Plugin {
const res = babel.transformSync(code, {
filename: id,
babelrc: false,
compact: true,
plugins: [
cjsPlugin,
removePolyfills,