vite-plugin-storybook-nextjs 2.0.0--canary.33.2897373.0 → 2.0.0--canary.33.18f66be.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 CHANGED
@@ -2930,6 +2930,32 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2930
2930
  ]
2931
2931
  }
2932
2932
  },
2933
+ optimizeDeps: {
2934
+ include: [
2935
+ "next/dist/shared/lib/app-router-context.shared-runtime",
2936
+ "next/dist/shared/lib/head-manager-context.shared-runtime",
2937
+ "next/dist/shared/lib/hooks-client-context.shared-runtime",
2938
+ "next/dist/shared/lib/router-context.shared-runtime",
2939
+ "next/dist/client/components/redirect-boundary",
2940
+ "next/dist/client/head-manager",
2941
+ "next/dist/client/components/is-next-router-error",
2942
+ "next/config",
2943
+ "next/dist/shared/lib/segment",
2944
+ "styled-jsx",
2945
+ "sb-original/image-context",
2946
+ "sb-original/default-loader",
2947
+ "@mdx-js/react",
2948
+ "@storybook/blocks",
2949
+ "next/dist/compiled/react",
2950
+ "next/image",
2951
+ "next/legacy/image",
2952
+ "react/jsx-dev-runtime",
2953
+ // Required for pnpm setups, since styled-jsx is a transitive dependency of Next.js and not directly listed.
2954
+ // Refer to this pnpm issue for more details:
2955
+ // https://github.com/vitejs/vite/issues/16293
2956
+ "next > styled-jsx/style"
2957
+ ]
2958
+ },
2933
2959
  test: {
2934
2960
  alias: {
2935
2961
  "react/jsx-dev-runtime": require8.resolve(
package/dist/index.js CHANGED
@@ -2897,6 +2897,32 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2897
2897
  ]
2898
2898
  }
2899
2899
  },
2900
+ optimizeDeps: {
2901
+ include: [
2902
+ "next/dist/shared/lib/app-router-context.shared-runtime",
2903
+ "next/dist/shared/lib/head-manager-context.shared-runtime",
2904
+ "next/dist/shared/lib/hooks-client-context.shared-runtime",
2905
+ "next/dist/shared/lib/router-context.shared-runtime",
2906
+ "next/dist/client/components/redirect-boundary",
2907
+ "next/dist/client/head-manager",
2908
+ "next/dist/client/components/is-next-router-error",
2909
+ "next/config",
2910
+ "next/dist/shared/lib/segment",
2911
+ "styled-jsx",
2912
+ "sb-original/image-context",
2913
+ "sb-original/default-loader",
2914
+ "@mdx-js/react",
2915
+ "@storybook/blocks",
2916
+ "next/dist/compiled/react",
2917
+ "next/image",
2918
+ "next/legacy/image",
2919
+ "react/jsx-dev-runtime",
2920
+ // Required for pnpm setups, since styled-jsx is a transitive dependency of Next.js and not directly listed.
2921
+ // Refer to this pnpm issue for more details:
2922
+ // https://github.com/vitejs/vite/issues/16293
2923
+ "next > styled-jsx/style"
2924
+ ]
2925
+ },
2900
2926
  test: {
2901
2927
  alias: {
2902
2928
  "react/jsx-dev-runtime": require8.resolve(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-storybook-nextjs",
3
- "version": "2.0.0--canary.33.2897373.0",
3
+ "version": "2.0.0--canary.33.18f66be.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vite-plugin",