-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(node): drop Node 12 support (#176)
This also converts the project to pure ESM as it is fully supported in Node 14.13.1, 16 and beyond. BREAKING CHANGE: This removes support for Node v12 and makes the new minimum runtime Node v14.13.1, as v12 is EOL. Please upgrade your Node.js environment to at least version 14.13.1, or continue using the latest v9 release of `pwned` if you are unable to upgrade your environment.
- Loading branch information
Showing
4 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
module.exports = { | ||
plugins: ['babel-plugin-add-import-extension'], | ||
presets: [ | ||
'@babel/preset-typescript', | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
modules: false, | ||
targets: { | ||
node: '12.20', | ||
node: '14.13.1', | ||
}, | ||
}, | ||
], | ||
'@babel/preset-typescript', | ||
], | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters