From 3cdb7c7246267a4f90ab9796414eb4276fe627af Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Sun, 5 May 2024 12:26:02 +0800 Subject: [PATCH] fix: npm build --- scripts/build_npm.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index c1a13f2..dc61da3 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -11,6 +11,9 @@ await build({ // see JS docs for overview and more options deno: true, }, + compilerOptions: { + lib: ["ES2022"], + }, package: { // package.json properties name: "@textplace/core",