I discovered this recently when trying out elm-server-side-renderer . The elm compiler is parsing the repository url in elm-package.json and using what would be the user name and repository fields for these. Apparently, what you have is what happens when the repository url doesn't point to github or something similar (mine all do).
In normal operation, modules with identical names in different imported packages are differentiated this way within the scope of the function the elm runtime is defined in. When importing modules with native code the source-directories list, native js can refer to the wrong name and need to be trivially transformed to match the rest of the generated code. On Wednesday, September 14, 2016 at 6:46:09 AM UTC-7, Rupert Smith wrote: > > I notice this appearing a log in the compiled js: > > _no_user$not_a_github_project$ > > Why does the elm compiler prefix everything with it? > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
