Skip to content

Commit

Permalink
refactor!: upgrade node minimum target (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Oct 30, 2022
1 parent 9abfcfb commit 226d421
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
},
"packageManager": "pnpm@7.14.0",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=6.14.13"
}
}
2 changes: 1 addition & 1 deletion scripts/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ console.log('Building dist for node (cjs)...');

// Generate entry-points for cjs compatibility
const localeDir = 'locale';
const target = ['ES2019', 'node14.6'];
const target = ['ES2019', 'node14.17'];

if (existsSync(localeDir)) {
rmSync(localeDir, { recursive: true, force: true });
Expand Down

0 comments on commit 226d421

Please sign in to comment.