Skip to content

Commit 597666b

Browse files
fix(package): add "/src" to files to fix source map warning
Relates to remarkablemark/html-react-parser#1097 ``` WARNING in ./node_modules/style-to-object/cjs/index.js Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'node_modules/style-to-object/src/index.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/style-to-object/src/index.ts' ```
1 parent e2e0089 commit 597666b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
"files": [
7171
"/cjs",
7272
"/dist",
73-
"/esm"
73+
"/esm",
74+
"/src"
7475
],
7576
"license": "MIT"
7677
}

0 commit comments

Comments
 (0)