Skip to content

Commit

Permalink
fix: change path of dts file
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenngoclongdev committed Jul 11, 2023
1 parent 67e510a commit 630079c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ build({
format: 'esm'
});

const source = path.join(__dirname, 'index.d.ts');
const target = path.join(__dirname, 'dist/index.d.ts');
fs.copyFileSync(source, target);
// const source = path.join(__dirname, 'index.d.ts');
// const target = path.join(__dirname, 'dist/index.d.ts');
// fs.copyFileSync(source, target);
// new Generator({
// entry: 'src/index.ts',
// output: 'dist/index.d.ts'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"version": "0.0.5",
"module": "dist/index.esm.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"types": "dist/index.d.ts",
"typings": "index.d.ts",
"types": "index.d.ts",
"files": [
"dist/*"
],
Expand Down

0 comments on commit 630079c

Please sign in to comment.