Closed FluidSense closed 4 years ago
An alternative could perhaps be to keep microbundle and pre-compile with the TypeScript-compiler tsc
I've landed on using tsc
& webpack
without babel after looking at this for the past two days.
It's less dependencies, works for our setup and is easier to understand imo.
I'll make a new PR on it pretty soon.
Since microbundle could not handle React.Fragment's shorthand syntax, I propose a change from microbundle to babel and perhaps webpack. This PR transpiles the design system and makes it usable as a package. However, it is not yet minimized or bundled.