Skip to content

Commit

Permalink
refactor: require node 18.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 17, 2024
1 parent eb1e7e5 commit dbfa7e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"vitest": "^1.5.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=18.12.0"
},
"prettier": "@sxzz/prettier-config"
}
2 changes: 1 addition & 1 deletion tsup.config.ts
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from 'tsup'
export default defineConfig({
entry: ['./src/index.ts'],
format: ['cjs', 'esm'],
target: 'node18',
target: 'node18.12',
splitting: true,
cjsInterop: true,
clean: true,
Expand Down

0 comments on commit dbfa7e8

Please sign in to comment.