Closed dodas closed 3 years ago
Hey there!
After upgrading to 0.48.1, mobx-keystone stopped working with Snowpack with error: ReferenceError: require is not defined
0.48.1
mobx-keystone
ReferenceError: require is not defined
Here is a explanation of why this happens: https://github.com/snowpackjs/snowpack/discussions/1321 Offending line: https://github.com/xaviergonz/mobx-keystone/blob/master/packages/lib/src/utils/index.ts#L12
Could you check the just released v0.48.3?
It works! Thanks for a nice quick feedback!
No problem 👍
Hey there!
After upgrading to
0.48.1
,mobx-keystone
stopped working with Snowpack with error:ReferenceError: require is not defined
Here is a explanation of why this happens: https://github.com/snowpackjs/snowpack/discussions/1321 Offending line: https://github.com/xaviergonz/mobx-keystone/blob/master/packages/lib/src/utils/index.ts#L12