green-labs / res_tailwindcss

ReScript PPX which validates the tailwindcss class names
MIT License
28 stars 4 forks source link

Using command line arg instead of config file #4

Closed mununki closed 2 years ago

mununki commented 2 years ago

Having a command line arg to get a tailwind CSS file path instead of making the redundant config file.

// bsconfig.json
"ppx-flags": [
  ...,
  ["@greenlabs/ppx-tailwindcss/ppx", "--path <path_to_tailwindcss>"]
]