vite-plugin-storybook-nextjs 2.0.0--canary.33.7c1f48f.1 → 2.0.0--canary.33.c17eb1b.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
@@ -2899,12 +2899,6 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2899
2899
  "next/dist/compiled/react/jsx-dev-runtime"
2900
2900
  )
2901
2901
  },
2902
- {
2903
- find: /^react\/compiler-runtime$/,
2904
- replacement: require8.resolve(
2905
- "next/dist/compiled/react/compiler-runtime"
2906
- )
2907
- },
2908
2902
  {
2909
2903
  find: /^react-dom$/,
2910
2904
  replacement: require8.resolve("next/dist/compiled/react-dom")
@@ -2938,6 +2932,18 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2938
2932
  },
2939
2933
  optimizeDeps: {
2940
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",
2941
2947
  "@mdx-js/react",
2942
2948
  "@storybook/blocks",
2943
2949
  "next/dist/compiled/react",
package/dist/index.js CHANGED
@@ -2866,12 +2866,6 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2866
2866
  "next/dist/compiled/react/jsx-dev-runtime"
2867
2867
  )
2868
2868
  },
2869
- {
2870
- find: /^react\/compiler-runtime$/,
2871
- replacement: require8.resolve(
2872
- "next/dist/compiled/react/compiler-runtime"
2873
- )
2874
- },
2875
2869
  {
2876
2870
  find: /^react-dom$/,
2877
2871
  replacement: require8.resolve("next/dist/compiled/react-dom")
@@ -2905,6 +2899,18 @@ function VitePlugin({ dir = process.cwd() } = {}) {
2905
2899
  },
2906
2900
  optimizeDeps: {
2907
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",
2908
2914
  "@mdx-js/react",
2909
2915
  "@storybook/blocks",
2910
2916
  "next/dist/compiled/react",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-storybook-nextjs",
3
- "version": "2.0.0--canary.33.7c1f48f.1",
3
+ "version": "2.0.0--canary.33.c17eb1b.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vite-plugin",