Make config path configurable #179
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I ran into an issue where I had to add
type: "module"to mypackage.json. This led to an error running Tailwind:So, naturally, I renamed my config to end in .cjs but then I ran into:
I found out this gem hardcodes the location of the config file and added the ability to use a custom path via an ENV variable. What do you think?
BTW, when testing my solution I pointed the gem to my fork on GitHub but ran into issues since it didn't contain the binaries. Is there a good way of solving that except for having to publish my own fork? I just went to the gem location and ran
rake packagelocally but that won't fly in production.