vite-plugin-storybook-nextjs 1.0.11--canary.17.7a4e819.0 → 1.0.12--canary.d4880e6.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
@@ -1008,6 +1008,17 @@ function VitePlugin({ dir = process.cwd() } = {}) {
1008
1008
  ]
1009
1009
  }
1010
1010
  },
1011
+ optimizeDeps: {
1012
+ include: [
1013
+ "@mdx-js/react",
1014
+ "@storybook/blocks",
1015
+ "next/dist/compiled/react",
1016
+ "next/image",
1017
+ "next/legacy/image",
1018
+ "react/jsx-dev-runtime",
1019
+ "styled-jsx/style"
1020
+ ]
1021
+ },
1011
1022
  test: {
1012
1023
  alias: {
1013
1024
  "react/jsx-dev-runtime": require6.resolve(
package/dist/index.js CHANGED
@@ -974,6 +974,17 @@ function VitePlugin({ dir = process.cwd() } = {}) {
974
974
  ]
975
975
  }
976
976
  },
977
+ optimizeDeps: {
978
+ include: [
979
+ "@mdx-js/react",
980
+ "@storybook/blocks",
981
+ "next/dist/compiled/react",
982
+ "next/image",
983
+ "next/legacy/image",
984
+ "react/jsx-dev-runtime",
985
+ "styled-jsx/style"
986
+ ]
987
+ },
977
988
  test: {
978
989
  alias: {
979
990
  "react/jsx-dev-runtime": require6.resolve(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-storybook-nextjs",
3
- "version": "1.0.11--canary.17.7a4e819.0",
3
+ "version": "1.0.12--canary.d4880e6.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vite-plugin",
@@ -79,7 +79,7 @@
79
79
  "tsup": "^8.1.0",
80
80
  "typescript": "^5.0.0",
81
81
  "vite": "^5.0.0",
82
- "vitest": "^2.0.5"
82
+ "vitest": "^2.1.4"
83
83
  },
84
84
  "packageManager": "pnpm@9.4.0",
85
85
  "dependencies": {