Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken source map reference? #15

Open
dv-anatolyg49 opened this issue Jul 15, 2020 · 1 comment
Open

Broken source map reference? #15

dv-anatolyg49 opened this issue Jul 15, 2020 · 1 comment

Comments

@dv-anatolyg49
Copy link

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...'

@anonyco
Copy link
Owner

anonyco commented Jul 16, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants