You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plan is to release an --out-dir option (-o for short) that will change the root output directory. With the initial release, the directory structure will mirror the same file path (relative to cwd).
This means that it may include src in its structure. In the future, the tool could detect the root or take a root argument. Simply putting it under generated or artifacts/css-typed solves my primary .gitignore use case.
Using the option may require tweaking your tsconfig.json to properly find the generated files.
Overview
As a user, I want to choose where to
css-typed
generates the files, so that it can fit my repository’s directory structure/conventions.Notes
*.d.css.ts
in the.gitignore
(maybe call thiscolocatedFile
?generated/*.d.css.ts
- still alongside, but grouped within agenerated
. Simplifies.gitignore
withgenerated/
conventiongenerated
)colocatedDirectory
orcolocatedGeneratedDirectory
generated/**/*.d.css.ts
- parallel structure in a rootgenerated
directoryparallelStructure
orparallelDirectory
orrootGeneratedDirectory
The text was updated successfully, but these errors were encountered: