UNPKG

vite-plugin-storybook-nextjs

Version:

This is a Vite plugin that allows you to use Next.js features in Vite. It is the basis for `@storybook/experimental-nextjs-vite` and should be used when running portable stories in Vitest.

11 lines (9 loc) 231 B
// src/plugins/next-mocks/alias/safe-stable-stringify/index.ts function safeStableStringify(value) { try { return JSON.stringify(value); } catch { return String(value); } } export { safeStableStringify as default };