Skip to content

Commit ee4975d

Browse files
committed
build: fix Sourcemap for "/*.mjs" points to missing source files
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 283269a commit ee4975d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
},
2727
"type": "module",
2828
"files": [
29-
"dist"
29+
"dist",
30+
"src"
3031
],
3132
"exports": {
3233
".": "./dist/index.mjs",

src/.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# NPM IGNORE
2+
# https://npm.github.io/publishing-pkgs-docs/publishing/the-npmignore-file.html
3+
# https://github.com/yarnpkg/yarn/issues/685#issuecomment-457618561
4+
5+
# DIRECTORIES & FILES
6+
**/__mocks__/**
7+
**/__snapshots__/**
8+
**/__tests__/**

0 commit comments

Comments
 (0)