You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The watch mode does not currently re-use the rolldown instance
CLI Arg parsing is bad
And more importantly, we need to define how surimi code is shared across modules, how surimi code can be imported by ts modules (and end up in the final build) and also how the compiler picks up styles and compiles them.
One of the biggest issues is that builders like the SelectorBuilder cannot and should not be imported into non-surimi files. there is no value and it would require runtime. On the other hand, generated class names and CSS custom property names might very well be used and imported as strings.
How can we
Make it clear to users what they can and can not import into .ts files?
Ensure the compiler compiles away all surimi code so no runtime is needed
Not have any magic that changes variable types (from class to string)
The compiler needs to undergo changes, in order to support more features and fix some bugs. The main issues I see right now:
And more importantly, we need to define how surimi code is shared across modules, how surimi code can be imported by ts modules (and end up in the final build) and also how the compiler picks up styles and compiles them.
One of the biggest issues is that builders like the
SelectorBuildercannot and should not be imported into non-surimi files. there is no value and it would require runtime. On the other hand, generated class names and CSS custom property names might very well be used and imported as strings.How can we
.tsfiles?