vite-plugin-storybook-nextjs 1.1.3 → 1.1.4--canary.36.b5ef3c1.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 +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2928,7 +2928,10 @@ function VitePlugin({ dir = process.cwd() } = {}) {
|
|
|
2928
2928
|
"next/image",
|
|
2929
2929
|
"next/legacy/image",
|
|
2930
2930
|
"react/jsx-dev-runtime",
|
|
2931
|
-
|
|
2931
|
+
// Required for pnpm setups, since styled-jsx is a transitive dependency of Next.js and not directly listed.
|
|
2932
|
+
// Refer to this pnpm issue for more details:
|
|
2933
|
+
// https://github.com/vitejs/vite/issues/16293
|
|
2934
|
+
"next > styled-jsx/style"
|
|
2932
2935
|
]
|
|
2933
2936
|
},
|
|
2934
2937
|
test: {
|
package/dist/index.js
CHANGED
|
@@ -2895,7 +2895,10 @@ function VitePlugin({ dir = process.cwd() } = {}) {
|
|
|
2895
2895
|
"next/image",
|
|
2896
2896
|
"next/legacy/image",
|
|
2897
2897
|
"react/jsx-dev-runtime",
|
|
2898
|
-
|
|
2898
|
+
// Required for pnpm setups, since styled-jsx is a transitive dependency of Next.js and not directly listed.
|
|
2899
|
+
// Refer to this pnpm issue for more details:
|
|
2900
|
+
// https://github.com/vitejs/vite/issues/16293
|
|
2901
|
+
"next > styled-jsx/style"
|
|
2899
2902
|
]
|
|
2900
2903
|
},
|
|
2901
2904
|
test: {
|