rixo / svench

A lightweight workbench to develop your Svelte components in isolation
svench-docs.vercel.app
207 stars 6 forks source link

Rollup config not working #49

Open lalilaloe opened 2 years ago

lalilaloe commented 2 years ago

Just taking a look at this project because i want to move away from storybook. But i think the examples are not up to date. I used examples/rollup and examples/svelte-template, both projects run into errors. It also seems like some .cjs files like plugin-shared.cjs are missing in the npm package when trying to import 'svench/rollup.cjs'.

When i try and build the project myself, import errors are gone. But I still run into the following errors using examples/svelte-template.

svench:cli && svench:plugin return afbeelding

svench:plugin:rollup seems the most promising afbeelding

rixo commented 2 years ago

To be honest, I think more and more that Rollup support won't make it to the final cut. You'd rather dig the Vite examples.