mirror of
https://github.com/penpot/penpot-export.git
synced 2025-01-07 15:39:00 -05:00
660f2b9ae9
Introduce the concept of transformer functions. A transformer function will receive an assets as an input and will output the same kind of asset. Scoping class names in CSS was a transformation applied to typography and page components assets when the output is CSS. Decoupling this transformation from the rest of the adapter results in cleaner API inbound adapters, without any project-specific logic, so now they can be co-located close to the PenpotClient code. |
||
---|---|---|
.. | ||
src/lib | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
package.json | ||
tsconfig.json |