vite-plugin-storybook-nextjs 3.1.9--canary.83.ca26ad7.0 → 3.1.9
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 +4 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4941,7 +4941,10 @@ 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({
|
|
4944
|
+
function VitePlugin({
|
|
4945
|
+
dir = process.cwd(),
|
|
4946
|
+
image
|
|
4947
|
+
} = {}) {
|
|
4945
4948
|
const resolvedDir = resolve(dir);
|
|
4946
4949
|
const nextConfigResolver = Promise.withResolvers();
|
|
4947
4950
|
return [
|
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 }?: PluginOptions): (Plugin | Promise<Plugin>)[];
|
|
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 }?: PluginOptions): (Plugin | Promise<Plugin>)[];
|
|
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,7 +4908,10 @@ var loadConfig = (
|
|
|
4908
4908
|
// biome-ignore lint/suspicious/noExplicitAny: CJS support
|
|
4909
4909
|
nextServerConfig.default || nextServerConfig
|
|
4910
4910
|
);
|
|
4911
|
-
function VitePlugin({
|
|
4911
|
+
function VitePlugin({
|
|
4912
|
+
dir = process.cwd(),
|
|
4913
|
+
image
|
|
4914
|
+
} = {}) {
|
|
4912
4915
|
const resolvedDir = resolve(dir);
|
|
4913
4916
|
const nextConfigResolver = Promise.withResolvers();
|
|
4914
4917
|
return [
|