Skip to content

Commit

Permalink
Merge pull request #23 from jy95/less-files-in-release
Browse files Browse the repository at this point in the history
perf: Less files in future releases
  • Loading branch information
jy95 authored Oct 1, 2021
2 parents a5ce427 + 734d5de commit 8426720
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"bin": "bin/cli.js",
"main": "dist/index.js",
"module": "dist/i18n-tools.esm.js",
"typings": "dist/index.d.ts",
"typings": "index.d.ts",
"files": [
"dist",
"bin"
"bin",
"index.d.ts"
],
"engines": {
"node": ">=12"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"lib": ["dom", "esnext"],
"importHelpers": true,
// output .d.ts declaration files for consumers
"declaration": true,
"declaration": false,
// output .js.map sourcemap files for consumers
"sourceMap": true,
// match output dir to input dir. e.g. dist/index instead of dist/src/index
Expand Down

0 comments on commit 8426720

Please sign in to comment.