It's possible, but you'll need to tweak the webpack config so the output is what you need it to be.
TL;DR
You'll have to make some tweaks to the web-pack config. We set ours up with a 'lib' area and a 'demo' area, and initially just had TypeScript import barrels at the root of the project - since we were using webpack to consume it, it didn't matter that the TypeScript/SCSS wasn't compiled yet. Although we do have an outstanding task to pre-compile the TypeScript for the library, we haven't gotten around to adding the build task for that, yet.
Thank you, I'm in the same situation.
FYI, I found this brother project that should have the library goal, but it's quite embryonal and inactive. I will stay tuned
It's possible, but you'll need to tweak the webpack config so the output is what you need it to be. TL;DR You'll have to make some tweaks to the web-pack config. We set ours up with a 'lib' area and a 'demo' area, and initially just had TypeScript import barrels at the root of the project - since we were using webpack to consume it, it didn't matter that the TypeScript/SCSS wasn't compiled yet. Although we do have an outstanding task to pre-compile the TypeScript for the library, we haven't gotten around to adding the build task for that, yet.