Skip to content

Commit

Permalink
Update build.mjs and pkgjson
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga committed Mar 18, 2024
1 parent 56cc994 commit e49ac11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const writeDts = (filepath, definitions) => {
// Read the type definition files
let typesSource = ''
typeFiles.forEach(file => {
typesSource += readFileSync (`./types/${file}`, { encoding: 'utf8' }) + '\n\n';
typesSource += readFileSync (`./src/types/${file}`, { encoding: 'utf8' }) + '\n\n';
});

let globalsSource = readFileSync ('./src/index.ts', { encoding: 'utf8' })
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "5.0.1",
"description": "JavaScript API for Neutralinojs",
"main": "./dist/index.js",
"type": "module",
"files": [
"dist"
],
Expand Down

0 comments on commit e49ac11

Please sign in to comment.