-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bundle analyzer for now, can be removed
- Loading branch information
1 parent
98dc8e1
commit eaef472
Showing
3 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import withBundleAnalyzer from '@next/bundle-analyzer' | ||
|
||
const bundleAnalyzer = withBundleAnalyzer({ | ||
enabled: process.env.ANALYZE === 'true', | ||
}) | ||
|
||
const nextConfig = { | ||
/* config options here */ | ||
|
||
} | ||
|
||
export default nextConfig | ||
export default bundleAnalyzer(nextConfig) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters