Skip to content

Commit

Permalink
Merge pull request #12 from ably/ignore-build-artifacts
Browse files Browse the repository at this point in the history
Gitignore the `build.js` file emitted by `tsc`
  • Loading branch information
lawrence-forooghian authored Dec 14, 2022
2 parents 69c2b1e + fa0a695 commit dd9f395
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
build/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint . --ext .ts",
"package": "tsc && ncc build index.js -o dist --source-map --license licenses.txt"
"package": "tsc && ncc build build/index.js -o dist --source-map --license licenses.txt"
},
"keywords": [],
"author": "Ably",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"outDir": "build"
}
}

0 comments on commit dd9f395

Please sign in to comment.