fix: resolve __dirname issue in ESM build
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"format": "prettier --write **/*.ts",
|
||||
"format-check": "prettier --check **/*.ts",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"pack": "ncc build",
|
||||
"pack": "ncc build --v8-cache --source-map --target es2020",
|
||||
"test": "vitest",
|
||||
"test:coverage": "vitest --coverage",
|
||||
"all": "npm run build && npm run format && npm run lint && npm run pack && npm run test:coverage"
|
||||
|
||||
Reference in New Issue
Block a user