slogging
slogging copied to clipboard
slogging winston does not work under webpack bundled scalajs program
The issue appears to be in the slogging-winston:
val winston = Dynamic.global.require("winston")
Under webpack, winston will not load under the global variable.
slogging 0.5.3 now supports loading the winston backend correctly as a module (require("winston")), see #25 (this requires scalaJSModuleKind := ModuleKind.CommonJSModule to be set in your build.sbt). This should also help with bundlers.