4 Commits

Author SHA1 Message Date
Eirik Sletteberg
b4dd61b4bc Re-add (but deprecate) file, for backwards compatibility 2021-04-18 11:07:28 +02:00
Eirik Sletteberg
09d5e7bb1c Use default entry point of source-loader
Previously, Storybook was hard-coded to use the CJS version
of @storybook/source-loader. Now, we use the default entrypoint,
which means the build tool will check package.json for the
preferred entry point (CJS or ESM).

(In this case, hard-coding to CJS broke the Vite build.)
2021-04-18 10:43:12 +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
Michael Shilman
0c8b9ac0d9 Soruce-loader: Export extract-source in its own entry point 2020-09-09 16:52:18 +08:00