@storybook/nextjs-vite 10.1.0-alpha.1 → 10.1.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_browser-chunks/{chunk-I34DATQB.js → chunk-37RBXWOJ.js} +51 -101
- package/dist/_browser-chunks/{chunk-L5NVL7MD.js → chunk-SL3VIQZ3.js} +7 -13
- package/dist/_browser-chunks/react-18-PYSEDAWB.js +43 -0
- package/dist/_node-chunks/{chunk-K4HZXX3V.js → chunk-B7GA5GDX.js} +15 -20
- package/dist/_node-chunks/dist-J5GIKACQ.js +5431 -0
- package/dist/_node-chunks/jiti-UOWJYD7K.js +2998 -0
- package/dist/export-mocks/cache/index.js +3 -8
- package/dist/export-mocks/headers/index.js +6 -29
- package/dist/export-mocks/navigation/index.js +15 -38
- package/dist/export-mocks/router/index.js +20 -54
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2865 -8413
- package/dist/node/index.d.ts +4 -0
- package/dist/node/index.js +7 -10
- package/dist/preset.js +639 -1860
- package/dist/preview.js +2 -2
- package/dist/vite-plugin/index.js +8 -10
- package/package.json +7 -7
- package/dist/_browser-chunks/react-18-G7Q4PNHD.js +0 -71
- package/dist/_node-chunks/dist-RH7SJCP6.js +0 -7476
- package/dist/_node-chunks/jiti-UIA265P2.js +0 -32417
package/dist/node/index.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ type BuilderName = CompatibleString<'@storybook/builder-vite'>;
|
|
|
7
7
|
type FrameworkOptions = {
|
|
8
8
|
/** The path to the Next.js configuration file. */
|
|
9
9
|
nextConfigPath?: string;
|
|
10
|
+
image?: {
|
|
11
|
+
includeFiles?: string[];
|
|
12
|
+
excludeFiles?: string[];
|
|
13
|
+
};
|
|
10
14
|
builder?: BuilderOptions;
|
|
11
15
|
};
|
|
12
16
|
type StorybookConfigFramework = {
|
package/dist/node/index.js
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_thj8ohqjayf from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_thj8ohqjayf from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_thj8ohqjayf from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_thj8ohqjayf.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_thj8ohqjayf.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_thj8ohqjayf.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import
|
|
13
|
-
__name
|
|
14
|
-
} from "../_node-chunks/chunk-K4HZXX3V.js";
|
|
12
|
+
import "../_node-chunks/chunk-B7GA5GDX.js";
|
|
15
13
|
|
|
16
14
|
// src/node/index.ts
|
|
17
15
|
function defineMain(config) {
|
|
18
16
|
return config;
|
|
19
17
|
}
|
|
20
|
-
__name(defineMain, "defineMain");
|
|
21
18
|
export {
|
|
22
19
|
defineMain
|
|
23
20
|
};
|