Skip to content

Commit

Permalink
build!: remove node v12 support (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed May 3, 2022
1 parent a2da7c4 commit cc9aec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)...');
Expand All @@ -48,6 +48,6 @@ buildSync({
minify: true,
splitting: true,
format: 'esm',
target: 'node12.20',
target: 'node14',
outExtension: { '.js': '.mjs' },
});

0 comments on commit cc9aec7

Please sign in to comment.