FastestSmallestTextEncoderDecoder icon indicating copy to clipboard operation
FastestSmallestTextEncoderDecoder copied to clipboard

Broken source map reference?

Open dv-anatolyg49 opened this issue 5 years ago • 1 comments

Here is the warning:

WARNING in /app/node_modules/fastestsmallesttextencoderdecoder/EncoderDecoderTogether.min.js
Module Warning (from /app/node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find SourceMap 'https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/EncoderDecoderTogether.min.js.map': Error: Can't resolve './https://cdn.jsdelivr.net/gh/AnonyCo/FastestSmallestTextEncoderDecoder/EncoderDecoderTogether.min.js.map' in '/app/node_modules/fastestsmallesttextencoderdecoder'
....
@ ./src/main.ts

Note that the url starts with './https://cdn...'

dv-anatolyg49 avatar Jul 15 '20 13:07 dv-anatolyg49

Thank you for bringing this to my attention. This appears to be a missing feature with NodeJS not recognizing source maps at URLs. I am rewriting much of the build system right now to accommodate a new compliance flavor, and I'll add this URL fix to the todo list. The way I plan to fix this problem is by starting -dev versions of these packages that will come with the source maps included.

BTW, This update will be coming with big changes, such as integration on npm++, so I am going to publish it as a beta release before finalizing the changes. I would appreciate your help testing it out when it's time because I don't want to accidentally break anyone's systems.

anonyco avatar Jul 16 '20 16:07 anonyco