From cc9aec71eb35e5be4949de9fd6f62f1b8ee48db0 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Tue, 3 May 2022 16:59:38 +0200 Subject: [PATCH] build!: remove node v12 support (#850) --- scripts/bundle.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bundle.ts b/scripts/bundle.ts index 29a3f2a0d40..46bcf590f99 100644 --- a/scripts/bundle.ts +++ b/scripts/bundle.ts @@ -33,7 +33,7 @@ buildSync({ // splitting: true, // Doesn't work with cjs format: 'cjs', platform: 'node', - target: 'node12', + target: 'node14', }); console.log('Building dist for node type=module (esm)...'); @@ -48,6 +48,6 @@ buildSync({ minify: true, splitting: true, format: 'esm', - target: 'node12.20', + target: 'node14', outExtension: { '.js': '.mjs' }, });