feat: make bundle analysis work with app dir

This commit is contained in:
Bart Stefanski 2023-11-25 23:35:22 +01:00
parent 38fc128d62
commit c7165fa2dc
4 changed files with 142 additions and 2 deletions

View file

@ -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