Skip to content

Conversation

@TSFoster
Copy link

@TSFoster TSFoster commented Jun 17, 2019

Hi,

node-elm-compiler changed from using the --pathToMake flag to using the --pathToElm flag when v.19 was released, but css-in-elm (and its help docs) are still trying to use the old flag, so it errors when you try to use either.

This PR is basically a find and replace of pathToMake → pathToElm. I've tested it with my project, although a relative path doesn't seem to work, at least when calling js/cli.js directly, e.g. calling ../css-in-elm/js/cli.js --pathToElm node_modules/.bin/elm from my project directory doesn't work, but ../css-in-elm/js/cli.js --pathToElm $PWD/node_modules/.bin/elm does. I suspect it might work when calling the linked css-in-elm executable, though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant