vite-plugin-storybook-nextjs 3.1.8 → 3.1.9--canary.83.ca26ad7.0
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/index.cjs +9 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4941,10 +4941,7 @@ var loadConfig = (
|
|
|
4941
4941
|
// biome-ignore lint/suspicious/noExplicitAny: CJS support
|
|
4942
4942
|
nextServerConfig__default.default.default || nextServerConfig__default.default
|
|
4943
4943
|
);
|
|
4944
|
-
function VitePlugin({
|
|
4945
|
-
dir = process.cwd(),
|
|
4946
|
-
image
|
|
4947
|
-
} = {}) {
|
|
4944
|
+
function VitePlugin({ dir = process.cwd(), image } = {}) {
|
|
4948
4945
|
const resolvedDir = resolve(dir);
|
|
4949
4946
|
const nextConfigResolver = Promise.withResolvers();
|
|
4950
4947
|
return [
|
|
@@ -5018,6 +5015,14 @@ function VitePlugin({
|
|
|
5018
5015
|
"next/dist/client/head-manager",
|
|
5019
5016
|
"next/dist/client/components/is-next-router-error",
|
|
5020
5017
|
"next/dist/shared/lib/segment",
|
|
5018
|
+
"next/dist/shared/lib/app-router-context.shared-runtime.js",
|
|
5019
|
+
"next/dist/shared/lib/head-manager-context.shared-runtime.js",
|
|
5020
|
+
"next/dist/shared/lib/hooks-client-context.shared-runtime.js",
|
|
5021
|
+
"next/dist/shared/lib/router-context.shared-runtime.js",
|
|
5022
|
+
"next/dist/client/components/redirect-boundary.js",
|
|
5023
|
+
"next/dist/client/head-manager.js",
|
|
5024
|
+
"next/dist/client/components/is-next-router-error.js",
|
|
5025
|
+
"next/dist/shared/lib/segment.js",
|
|
5021
5026
|
"styled-jsx",
|
|
5022
5027
|
"styled-jsx/style",
|
|
5023
5028
|
"sb-original/image-context",
|
package/dist/index.d.cts
CHANGED
|
@@ -18,6 +18,6 @@ type PluginOptions = {
|
|
|
18
18
|
*/
|
|
19
19
|
image?: NextImagePluginOptions;
|
|
20
20
|
};
|
|
21
|
-
declare function VitePlugin({ dir, image
|
|
21
|
+
declare function VitePlugin({ dir, image }?: PluginOptions): (Plugin | Promise<Plugin>)[];
|
|
22
22
|
|
|
23
23
|
export { type PluginOptions, VitePlugin as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ type PluginOptions = {
|
|
|
18
18
|
*/
|
|
19
19
|
image?: NextImagePluginOptions;
|
|
20
20
|
};
|
|
21
|
-
declare function VitePlugin({ dir, image
|
|
21
|
+
declare function VitePlugin({ dir, image }?: PluginOptions): (Plugin | Promise<Plugin>)[];
|
|
22
22
|
|
|
23
23
|
export { type PluginOptions, VitePlugin as default };
|
package/dist/index.js
CHANGED
|
@@ -4908,10 +4908,7 @@ var loadConfig = (
|
|
|
4908
4908
|
// biome-ignore lint/suspicious/noExplicitAny: CJS support
|
|
4909
4909
|
nextServerConfig.default || nextServerConfig
|
|
4910
4910
|
);
|
|
4911
|
-
function VitePlugin({
|
|
4912
|
-
dir = process.cwd(),
|
|
4913
|
-
image
|
|
4914
|
-
} = {}) {
|
|
4911
|
+
function VitePlugin({ dir = process.cwd(), image } = {}) {
|
|
4915
4912
|
const resolvedDir = resolve(dir);
|
|
4916
4913
|
const nextConfigResolver = Promise.withResolvers();
|
|
4917
4914
|
return [
|
|
@@ -4985,6 +4982,14 @@ function VitePlugin({
|
|
|
4985
4982
|
"next/dist/client/head-manager",
|
|
4986
4983
|
"next/dist/client/components/is-next-router-error",
|
|
4987
4984
|
"next/dist/shared/lib/segment",
|
|
4985
|
+
"next/dist/shared/lib/app-router-context.shared-runtime.js",
|
|
4986
|
+
"next/dist/shared/lib/head-manager-context.shared-runtime.js",
|
|
4987
|
+
"next/dist/shared/lib/hooks-client-context.shared-runtime.js",
|
|
4988
|
+
"next/dist/shared/lib/router-context.shared-runtime.js",
|
|
4989
|
+
"next/dist/client/components/redirect-boundary.js",
|
|
4990
|
+
"next/dist/client/head-manager.js",
|
|
4991
|
+
"next/dist/client/components/is-next-router-error.js",
|
|
4992
|
+
"next/dist/shared/lib/segment.js",
|
|
4988
4993
|
"styled-jsx",
|
|
4989
4994
|
"styled-jsx/style",
|
|
4990
4995
|
"sb-original/image-context",
|