Sourcemaps linked correctly?
jeffpatzer opened this issue ยท 2 comments
jeffpatzer commented
I'm noticing this warning in my local dev terminal since upgrading the package recently.
WARNING in ./node_modules/@ctrl/tinycolor/dist/module/util.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/src/main/webpack/node_modules/@ctrl/tinycolor/src/util.ts' file: Error: ENOENT: no such file or directory, open '/src/main/webpack/node_modules/@ctrl/tinycolor/src/util.ts'
Error: Failed to parse source map from '/src/main/webpack/node_modules/@ctrl/tinycolor/src/util.ts' file: Error: ENOENT: no such file or directory, open '/src/main/webpack/node_modules/@ctrl/tinycolor/src/util.ts'
at fetchFromFilesystem (/src/main/webpack/node_modules/source-map-loader/dist/utils.js:130:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
@ ./node_modules/@ctrl/tinycolor/dist/module/index.js 4:0-54 101:17-27 198:51-58 210:51-58 296:16-23 320:16-23 350:16-23 361:16-23
@ ./node_modules/@ctrl/tinycolor/dist/module/public_api.js
@ ./funnel/components/header/header-full-width.tsx
@ ./funnel/pages/Funnel.tsx
@ ./funnel/pages/funnel-loader.tsx
util.js is showing a reference to ../src/util.ts
{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,SAAgB,OAAO,CAAC,CAAM,EAAE,GAAW;IACzC,IAAI,cAAc,CAAC,CAAC,CAAC,EAAE;QACrB,CAAC,GAAG,MAAM,CAAC;KACZ;IAED,MAAM,SAAS,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC,GAAG,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhE,+CAA+C;IAC/C,IAAI,SAAS,EAAE;QACb,CAA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AAFD,oCAEC;AAED;;;GAGG;AACH,SAAgB,UAAU,CAAC,CAAmB;IAC5C,CAAC,GAAG,UAAU,CAAC,CAAW,CAAC,CAAC;IAE5B,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAC9B,CAAC,GAAG,CAAC,CAAC;KACP;IAED,OAAO,CAAC,CAAC;AACX,CAAC;AARD,gCAQC;AAED;;;GAGG;AACH,SAAgB,mBAAmB,CAAC,CAAkB;IACpD,IAAI,CAAC,IAAI,CAAC,EAAE;QACV,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC;KAC9B;IAED,OAAO,CAAC,CAAC;AACX,CAAC;AAND,kDAMC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,CAAS;IAC5B,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC9C,CAAC;AAFD,oBAEC"}
Are the mapping files meant to be part of the distribution? If so, looks like they aren't referencing the distributed .js files.
scttcper commented
๐ This issue has been resolved in version 3.1.6 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
jeffpatzer commented
Thanks ๐!