Skip to content

Commit

Permalink
bundle to es2023
Browse files Browse the repository at this point in the history
  • Loading branch information
shevernitskiy committed Jan 12, 2024
1 parent 0553198 commit 4cba0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/build-npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const pakcage = {
files: ["./src", "./mod.js", "./mod.d.ts"],
main: "./mod.js",
types: "./mod.d.ts",
type: "module",
keywords: [
"amo",
"amoCRM",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"outDir": "./npm",
"declaration": true
// "target": "ESNext" // modules or not?
"declaration": true,
"target": "ES2023"
},
"include": ["./src/**/*", "./mod.ts"],
"deno2node": {}
Expand Down

0 comments on commit 4cba0d7

Please sign in to comment.