Skip to content

Commit

Permalink
feat: create declaration maps when building project (#6170)
Browse files Browse the repository at this point in the history
Intended to improve the DX for devs actively working on the project.
These will not be published in the bundled version of the project nor should
they be added to source control

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
ericapisani and kodiakhq[bot] authored Nov 16, 2023
1 parent 11e05ad commit 2428b9c
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
Expand Up @@ -15,6 +15,7 @@ coverage
src/**/*.mjs
!src/functions-templates/**/*.mjs
src/**/*.d.mts
src/**/*.d.mts.map
tsconfig.tsbuildinfo

# node sdk
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"/src/lib/templates/**",
"!/src/**/node_modules/**",
"!/src/**/*.test.js",
"!/src/**/*.mts"
"!/src/**/*.mts",
"!/src/**/*.d.mts.map"
],
"homepage": "https://github.com/netlify/cli",
"keywords": [
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 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"declarationMap": false,
"declarationMap": true,
"removeComments": false,
"downlevelIteration": true,
"forceConsistentCasingInFileNames": true,
Expand Down

2 comments on commit 2428b9c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,395
  • Package size: 404 MB

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,395
  • Package size: 404 MB

Please sign in to comment.