From 4630902a805b4be9b6eb80212ec915c6a67d466d Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 20 Feb 2024 08:25:31 +0100 Subject: [PATCH] Make reserved names ES3 compliant --- build.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.config.ts b/build.config.ts index 3df9c0f..cbc592a 100644 --- a/build.config.ts +++ b/build.config.ts @@ -7,6 +7,11 @@ export default defineBuildConfig({ declaration: 'compatible', rollup: { emitCJS: true, - inlineDependencies: true + inlineDependencies: true, + output: { + generatedCode: { + reservedNamesAsProps: false + } + } } })