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.json
file, using the "source-directories" key. I believe the default is[ "." ]
, so by default it will look in the same directory as theelm-package.json
file.You can change it to
[ "src" ]
or even add multiple paths, since it's an array.