feat: make bundle analysis work with app dir
This commit is contained in:
parent
38fc128d62
commit
c7165fa2dc
4 changed files with 142 additions and 2 deletions
2
.github/workflows/nextjs_bundle_analysis.yml
vendored
2
.github/workflows/nextjs_bundle_analysis.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
# Here's the first place where next-bundle-analysis' own script is used
|
||||
# This step pulls the raw bundle stats for the current bundle
|
||||
- name: Analyze bundle
|
||||
run: npx -p nextjs-bundle-analysis report
|
||||
run: node report-bundle-size.js
|
||||
|
||||
- name: Upload bundle
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue