add esbuild
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -145,4 +145,6 @@ dist
|
||||
|
||||
# Custom
|
||||
/index.js
|
||||
/index.d.ts
|
||||
/index.d.ts
|
||||
/utils.js
|
||||
/utils.d.ts
|
||||
@@ -6,4 +6,6 @@ coverage/
|
||||
vite.config.ts
|
||||
src/
|
||||
tests/
|
||||
tsconfig.json
|
||||
tsconfig.json
|
||||
utils.*
|
||||
*.tgz
|
||||
@@ -9,7 +9,7 @@
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsc & esbuild --bundle --target=esnext --platform=neutral --outfile=index.js src/index.ts & wait",
|
||||
"test": "vitest"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"target": "esnext",
|
||||
"lib": ["esnext"],
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": true,
|
||||
|
||||
Reference in New Issue
Block a user