Skip to content

Commit 657e087

Browse files
committed
improve imports
1 parent 5a555fd commit 657e087

File tree

12 files changed

+651
-22
lines changed

12 files changed

+651
-22
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ yarn-error.log*
2626
.pnpm-debug.log*
2727

2828
# local env files
29-
.env
30-
.env.local
29+
.env*
3130

3231
# vercel
3332
.vercel

next.config.js

-6
This file was deleted.

next.config.mjs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import withPlugins from "next-compose-plugins";
2+
3+
import withBundleAnalyzer from "next-bundle-analyzer";
4+
5+
const bundleAnalyzer = withBundleAnalyzer({
6+
enabled: process.env.ANALYZE
7+
});
8+
9+
10+
/** @type {import('next').NextConfig} */
11+
const nextConfig = {
12+
reactStrictMode: true,
13+
compress: true
14+
};
15+
16+
export default withPlugins([bundleAnalyzer], nextConfig);

0 commit comments

Comments
 (0)