Skip to content

Commit 7082c50

Browse files
fix(package): add "/src" to files to fix source map warning
Relates to remarkablemark/html-react-parser#1097 ``` WARNING in ./node_modules/html-dom-parser/lib/client/constants.js Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'node_modules/html-dom-parser/src/client/constants.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/html-dom-parser/src/client/constants.ts' ```
1 parent 904855e commit 7082c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
"files": [
100100
"/dist",
101101
"/esm",
102-
"/lib"
102+
"/lib",
103+
"/src"
103104
],
104105
"browser": {
105106
"./lib/index.js": "./lib/client/html-to-dom.js",

0 commit comments

Comments
 (0)