How do I specify areas for looking up Module names in elm-reactor, current it says
I cannot find module 'MyModule'.
How do I specify areas for looking up Module names in elm-reactor, current it says
I cannot find module 'MyModule'.
Copyright © 2021 Jogjafile Inc.
In your
elm-package.jsonfile, using the "source-directories" key. I believe the default is[ "." ], so by default it will look in the same directory as theelm-package.jsonfile.You can change it to
[ "src" ]or even add multiple paths, since it's an array.