3 Commits

Author SHA1 Message Date
Eirik Sletteberg
f74a04a411 Make Storybook esbuild-compatible
This would be a good fundament for adding Snowpack/Vite
builder support. Currently, Storybook UI can be built by
Webpack or tsc, but esbuild transpiles .ts file-by-file
and therefore has some  caveats:

https://esbuild.github.io/content-types/#typescript-caveats

This change adds isolatedModules: true to tsconfig.json,
and fixes a few places in the Storybook source code.
The result has been briefly tested with esbuild - with
these changes, it's possible to build Storybook UI
using Vite.
2021-03-29 22:18:41 +02:00
Norbert de Langen
04acc44510
Change /dist to ESM && upgrade required dependencies to make this happen & deal with the consequences 2020-11-26 10:50:46 +01:00
Max Belsky
3b80b1df3d Reuse shortcuts from api package 2020-06-13 17:11:31 +03:00