agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'createState()' doesn't get entirely treeshaken away

bennoinbeta opened this issue Β· comments

commented

πŸ› Bug report

πŸ€– Current Behavior

If we import createLightState() we want a lighter variant of the State without the Storage logic.
However, all the Storage logic is included, although we never imported createState().

image

🎯 Expected behavior

If we only import createLightState() the whole Storage logic should be tree shaken away.

image