question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Turbosnap for non-webpack builders

See original GitHub issue

Hi, I help to maintain storybook-builder-vite, a non-webpack builder for storybook. At work, we’ve hit our chromatic snapshot limit, and I was looking into using turbosnap, but it requires a webpack stats file, unfortunately. I’m poking around to see if I can build a rollup plugin that can generate such a file, but even if I do, I think there are other assumptions baked into the code that the project is a webpack project (e.g. it expects a generated-stories-entry.js entrypoint, which storybook-builder-vite does not create, although we could consider doing so if necessary). We’ll see how far I can get with this, but I wanted to create an issue to at least raise the request and help track any work that might be going on in this area.

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
IanVScommented, Feb 23, 2022

Vite support has been released in 6.5.0.

1reaction
ghengeveldcommented, Feb 10, 2022

Hey Ian, let’s look into this together sometime. I’m not available right now but if you email me at gert @ chromatic then we can schedule a meeting.

In the meantime, you can use --diagnostics to get turbosnap metadata.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TurboSnap • Chromatic docs
TurboSnap. TurboSnap is an advanced Chromatic feature that speeds up builds for faster UI testing and review using Git and Webpack's dependency graph....
Read more >
chromatic-cli - bytemeta
Support `generated-stories-entry.cjs` with turbosnap. shijiatongxue. shijiatongxue CLOSED ... Feature request: Turbosnap for non-webpack builders. tmeasday.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found