mirror of
https://github.com/labring/laf.git
synced 2026-01-18 16:03:17 +00:00
* chore: add check version * fix: dark theme button style * fix: docs typos * feat: remove semver
8 lines
295 B
JavaScript
8 lines
295 B
JavaScript
// Lock lockFileVersion to version 2 And resolve import error when import xxx from 'node:xxx'
|
|
if (process.version && +process.version.slice(1).split(".")[0] < 16) {
|
|
console.log(
|
|
`Required node version >= 16 not satisfied with current version ${process.version}.`
|
|
);
|
|
process.exit(1);
|
|
}
|