rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
2.01k stars 111 forks source link

cli export should recursively create the the directory #73

Open JoA-MoS opened 1 year ago

JoA-MoS commented 1 year ago

When specifying the export parameter that includes multiple directories the directories should be created recusively

npx tailwind-config-viewer -c ./libs/tailwind-config/src/lib/tailwind.config.js export ./dist/libs/tailwind-config

Current Behavior

Error: ENOENT: no such file or directory, mkdir '/<absolutePathToRepoRedacted>/dist/libs/tailwind-config'

Should create the directory structure specified as the export arg

rogden commented 1 year ago

@JoA-MoS Thanks for the report and the PR! I'll get it merged in this week.