Skip to content

Commit 287dc44

Browse files
agilgur5yordis
andauthored
Add 'src' to package.json files to improve source maps (#620)
- 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 <[email protected]> Co-authored-by: Yordis Prieto <[email protected]>
1 parent b21d7af commit 287dc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/basic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const basicTemplate: Template = {
1111
main: 'dist/index.js',
1212
// module: `dist/${safeName}.esm.js`,
1313
typings: `dist/index.d.ts`,
14-
files: ['dist'],
14+
files: ['dist', 'src'],
1515
engines: {
1616
node: '>=10',
1717
},

0 commit comments

Comments
 (0)