Skip to content

Commit

Permalink
Add 'src' to package.json files to improve source maps (jaredpalmer#620)
Browse files Browse the repository at this point in the history
- so library users can actually view source, add breakpoints there,
  etc, etc and not only view types and dist files

Co-authored-by: Anton Gilgur <agilgur5@gmail.com>
Co-authored-by: Yordis Prieto <yordis.prieto@gmail.com>
  • Loading branch information
2 people authored and paul-vd committed Dec 1, 2020
1 parent 894d9b3 commit 3e3e22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const basicTemplate: Template = {
main: 'dist/index.js',
// module: `dist/${safeName}.esm.js`,
typings: `dist/index.d.ts`,
files: ['dist'],
files: ['dist', 'src'],
engines: {
node: '>=10',
},
Expand Down

0 comments on commit 3e3e22b

Please sign in to comment.