-
Notifications
You must be signed in to change notification settings - Fork 28
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
sourceURL contains null-character at the beginning #145
Comments
The CommonJS plugin likely includes the Is it causing any build failures or something to break? |
Yeah, I am loading the file through a C++ layer into JavaScriptCore. It broke when the C++ standard library terminated the string at the 0-character. The error message was I created a unit-test and once I removed all 0-characters, the test passed. |
...That's a new one, sounds interesting! The fix wouldn't be hard anyways, just a matter of determining where in Nollup to filter out the |
I can confirm that after removing null-characters also the "live app" works! |
#146 This should hopefully take care of it. If you could give it a try and confirm, it'd be much appreciated! :) |
I am having a very weird. Some of the sourceURL references in my nolluped files contain a null-character at the beginning. Example:
I was tracing the problem at least up to this position in PluginLifecycle.js:
With this debug code, I get this on the console:
Since I am lost in the details how plugin/hooks get called by nollup, I don't know how to trace this to the source problem.
Any idea how this can happen???
The text was updated successfully, but these errors were encountered: