@next/plugin-storybook 12.3.2-canary.7 → 13.0.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/package.json +1 -1
- package/preset.js +1 -1
package/package.json
CHANGED
package/preset.js
CHANGED
|
@@ -6,8 +6,8 @@ const getWebpackConfig = require('next/dist/build/webpack-config').default
|
|
|
6
6
|
const CWD = process.cwd()
|
|
7
7
|
|
|
8
8
|
async function webpackFinal(config) {
|
|
9
|
-
const pagesDir = findPagesDir(CWD)
|
|
10
9
|
const nextConfig = await loadConfig(PHASE_PRODUCTION_BUILD, CWD)
|
|
10
|
+
const { pagesDir } = findPagesDir(CWD, !!nextConfig.experimental.appDir)
|
|
11
11
|
const nextWebpackConfig = await getWebpackConfig(CWD, {
|
|
12
12
|
pagesDir,
|
|
13
13
|
entrypoints: {},
|