Skip to content

Commit

Permalink
drop node < 16.17 support
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 31, 2023
1 parent 0bb2a14 commit 501a9ee
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -11,11 +11,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [14, 16, 18, 20]
node-version: [16, 18, 20]
webpack-version: ["5"]
include:
- node-version: "14.15.0" # The minimum supported node version
webpack-version: "5.0.0" # The minimum supported webpack version
- node-version: "16.17.0" # The minimum supported node version
webpack-version: "5.80.0" # The minimum supported webpack version
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
Expand Down
15 changes: 9 additions & 6 deletions babel.config.json
@@ -1,12 +1,15 @@
{
"targets": {
"node": "14.15.0"
"node": "16.17.0"
},
"presets": [
["@babel/preset-env", {
"loose": true,
"bugfixes": true,
"modules": false
}]
[
"@babel/preset-env",
{
"loose": true,
"bugfixes": true,
"modules": false
}
]
]
}
9 changes: 7 additions & 2 deletions package.json
Expand Up @@ -7,15 +7,20 @@
],
"main": "lib/index.js",
"engines": {
"node": ">= 14.15.0"
"node": ">=18 || ^16.17.0"
},
"type": "module",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"dependencies": {
"find-cache-dir": "^4.0.0",
"schema-utils": "^4.0.0"
},
"peerDependencies": {
"@babel/core": "^7.12.0",
"webpack": ">=5"
"webpack": "^5.80.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
Expand Down

0 comments on commit 501a9ee

Please sign in to comment.