Open Nicolab opened 2 years ago
@Nicolab thanks for creating the issue. I believe it is related to vite which does not support commonjs modules loaded from .marko
files, which is what is happening here in the @marko-tags/context
package.
We've started updating packages to output .mjs
as well and that needs to be done here also.
@marko-tags/context@v2.2.2
Details
I want to share data across a parent tag and a nested tag but I have this error. Also with the doc example.
Expected Behavior
Share data across nested tag.
Actual Behavior
Your Environment
Steps to Reproduce
https://markojs.com/docs/state/#globalsubtree this example don't work for me.
Stack Trace
No stack trace, only: