Usage of parcel with elm and subdirectories #6773
Unanswered
wadouk
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just if other one felt in the same trick
I used to run all node programs by setting in my path
./node_modules/.bin
like this in any node project, I have access to installed locally sub commands, all are documented in package.json and we have the same version, the project could be runed without globally and unknown utilities.Doesn't work for parcel@1 because of setting
cwd
ofspawn
to the elm entry file that is in a subdirrectorysrc/elm
and it is obvious that from this subdirectory the elm command could not be found.By running
yarn run parcel src/elm/OneOfTheMain.elm
seems good.Beta Was this translation helpful? Give feedback.
All reactions