Skip to content

Commit 17d0052

Browse files
refactor!: minimum supported Node.js version is 14.15.0 (#65)
1 parent 8324830 commit 17d0052

25 files changed

+8428
-5747
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [ubuntu-latest, windows-latest, macos-latest]
59-
node-version: [12.x, 14.x, 16.x, 18.x]
59+
node-version: [14.x, 16.x, 18.x]
6060
webpack-version: [latest]
6161

6262
runs-on: ${{ matrix.os }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Simply add the loader to your configuration, and pass options.
2121

2222
```js
2323
import md from "markdown-file.md";
24+
2425
console.log(md);
2526
```
2627

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = (api) => {
1111
{
1212
exclude: ["proposal-dynamic-import"],
1313
targets: {
14-
node: "12.13.0",
14+
node: "14.15.0",
1515
},
1616
},
1717
],

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
testMatch: [
3+
"**/__tests__/**/*.(m|c)?[jt]s?(x)",
4+
"**/?(*.)+(spec|test).(m|c)?[jt]s?(x)",
5+
],
6+
runner: "jest-light-runner",
7+
};

0 commit comments

Comments
 (0)