quarrant / mobx-persist-store

Persist and rehydrate observable properties in mobx store.
268 stars 14 forks source link

[BUG] version 1.1.0 package is empty #95

Closed PeterJSung closed 1 year ago

PeterJSung commented 2 years ago

when we install mobx-persist-store (v 1.1.0), there is no module definition in esm.* folder.

definition file is located in lib/esm*/src folder, and esm root has only fake library.

thank you.

스크린샷 2022-08-31 오후 8 33 49

tobua commented 2 years ago

Just ran into the same issue after updating. Looks like this has happened because a new TS file called setup-fake-timers.ts has been added to the root and now the contents are published with an additional src folder, see here on unpkg.

I don't see the file being used, maybe it can be removed. Otherwise moving it into src or adapting the "include" in tsconfig could also fix the issue.

Thanks!

quarrant commented 2 years ago

Thank you. This bug was fixed in version 1.1.2