Skip to content

Commit

Permalink
fix(package): add "/src" to files to fix source map warning
Browse files Browse the repository at this point in the history
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'
```
  • Loading branch information
remarkablemark authored Oct 19, 2023
1 parent e2e0089 commit 597666b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"files": [
"/cjs",
"/dist",
"/esm"
"/esm",
"/src"
],
"license": "MIT"
}

0 comments on commit 597666b

Please sign in to comment.