Variable undefined via vite plugin
My app.config.ts
The pigment plugin has 3 params:
When I run with Router. Works. The rawTheme variable is accessible inside all the packages.
However, when I try to use Start. The rawTheme variable is undefined [in these same packages].
Note: see the console log above. The variable contents is available at that point (for both router and start). But with start, not when a package uses it. So it disappears at some point.
I am unable to produce a repo because there is a ton of code that goes into this.
1) A css-in-js lib that is forked
2) A UI lib that is also forked
I can put these both on npm and a repo of Start containing these packages. Let me know.
Thanks!
The pigment plugin has 3 params:
When I run with Router. Works. The rawTheme variable is accessible inside all the packages.
However, when I try to use Start. The rawTheme variable is undefined [in these same packages].
Note: see the console log above. The variable contents is available at that point (for both router and start). But with start, not when a package uses it. So it disappears at some point.
I am unable to produce a repo because there is a ton of code that goes into this.
1) A css-in-js lib that is forked
2) A UI lib that is also forked
I can put these both on npm and a repo of Start containing these packages. Let me know.
Thanks!