tokens-studio / style-dictionary-configurator

Home Page:style-dictionary-configurator.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update style-dictionary browser patch to latest (3.1.1 -> 3.7.1)

rbosker opened this issue · comments

Note: there's some new formats in Style Dictionary 3.x -> typescript/module-declarations. Currently in the browser patch, we handle statements like fs.readFileSync(__dirname + '/templates/android/resources.template') by transforming them with Rollup to inline the contents of the templates, but the typescript module declarations is not handled, because it imports a type not from the templates folder. We should add a find+replace statement for this case.