Closed
Description
I have upgraded to CRA 5 and I'm getting this compilation error:
WARNING in ./node_modules/autolinker/dist/es2015/truncate/truncate-end.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '\node_modules\autolinker\src\truncate\truncate-end.ts' file: Error: ENOENT: no such file or directory, open '\node_modules\autolinker\src\truncate\truncate-end.ts'
"dependencies": {
"autolinker": {
"version": "3.16.2",
"resolved": "https://registry.npmjs.org/autolinker/-/autolinker-3.16.2.tgz",
"integrity": "sha512-JiYl7j2Z19F9NdTmirENSUUIIL/9MytEWtmzhfmsKPCp9E+G35Y0UNCMoM9tFigxT59qSc8Ml2dlZXOCVTYwuA==",
"requires": {
"tslib": "^2.3.0"
}
},
Somehow CRA keeps trying to find the map files in src folder instead of dist.
Metadata
Metadata
Assignees
Labels
No labels