-
Notifications
You must be signed in to change notification settings - Fork 19
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
Rollup & ulog not working (no log output) #73
Comments
Just checking my repos again in some spare time in the weekend and noticed your issue. Very late I know but I am doing this unpaid and in my spare time... I cloned your repo and ran it and was confused it did not work. Then I looked at the bundle.js and noticed something strange... It seems that the code for Node JS is being used i.s.o. the code for the browser. Ulog is using the There are actually 2 versions of the {
main: "src/node.js",
browser: "src/browser.js"
} However, this is not very flexible / powerful. It would be cool if you could do some investigation so that when I restart work on ulog, I will have some more information on this to inform what the best way forward is. Thanks for reporting this issue to me. I will look at it again when I am ready to work on this project again. |
Maybe this is a bug in @rollup/plugin-node-resolve: |
I guess I am also facing this issue... #66 may be related. |
I can't seem to get rollup & ulog to work. My expectation is that I should install anylogger as a dependency and ulog as a devDependency, then
import "ulog"
followed byimport anylogger from "anylogger"
and create a log object that can be used to log strings. Unfortunately, there is no log message output.I've written a repro so it can be easier to debug/give guidance:
https://github.com/canadaduane/ulog-test
Thanks.
The text was updated successfully, but these errors were encountered: