Open alexkrolick opened 5 years ago
Unfortunately I have no enough time for the project, so PR's are welcome!
@alexkrolick you can do it easily with a side effect in a custom getJSON function
example implementation for typescript types:
https://github.com/utilitycss/atomic/blob/master/src/postcss/atomic-css-modules.ts#L243
https://github.com/utilitycss/atomic/blob/master/src/action/generate-atom-typings.ts
Feature request:
Extend the JSON generation to create a similar
xyz.js.flow
file that could be used to mapxyz.css
to a Flow type definition, so that style imports are typesafe