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 (6 loc) 199 B
'use strict'; var headers = require('next/dist/client/components/headers'); Object.defineProperty(exports, "draftMode", { enumerable: true, get: function () { return headers.draftMode; } });