We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16527d commit 5a4f07bCopy full SHA for 5a4f07b
1 file changed
.github/workflows/analyze.yml
@@ -42,8 +42,11 @@ jobs:
42
key: ${{ runner.os }}-build-${{ env.cache-name }}
43
44
- name: Build next.js app
45
- # change this if your site requires a custom build command
46
- run: ./node_modules/.bin/next build
+ # This project pins the webpack pipeline (see next.config.js): the custom
+ # webpack config and Sandpack's raw-loader imports aren't Turbopack-ready,
47
+ # and Next 16's `next build` defaults to Turbopack. Match the `build`/`analyze`
48
+ # npm scripts by forcing `--webpack`.
49
+ run: ./node_modules/.bin/next build --webpack
50
51
# Here's the first place where next-bundle-analysis' own script is used
52
# This step pulls the raw bundle stats for the current bundle
0 commit comments