Skip to content

Commit

Permalink
Remove unnecessary icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLeiter committed Jul 15, 2023
1 parent 614a1be commit ffacc74
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ yalc.lock
**/supabase/.temp

.vscode

# next bundle analyzer
analyze/
1 change: 0 additions & 1 deletion app/components/entry/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const BlockEntry = (props: Props) => {
title={description || title}
className={styles.link}
underline={false}
scroll={true}
external={isThirdParty}
>
{type && <div className={styles.type}>{type}</div>}
Expand Down
4 changes: 0 additions & 4 deletions app/components/icons/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
export { default as Book } from './book'
export { default as Document } from './document'
export { default as GitHub } from './github'
export { default as Twitter } from './twitter'
export { default as Mail } from './mail'
export { default as ArrowLeft } from './arrow-left'
export { default as ArrowRight } from './arrow-right'
export { default as RSS } from './rss'
export { default as LinkedIn } from './linkedin'
export { default as Star } from './star'
Expand Down
9 changes: 5 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// const withBundleAnalyzer = require('@next/bundle-analyzer')({
// enabled: process.env.ANALYZE === 'true',
// })
import withBundleAnalyzer from '@next/bundle-analyzer'

/** @type {import('next').NextConfig} */
const nextConfig = {
swcMinify: true,
Expand Down Expand Up @@ -44,4 +43,6 @@ const nextConfig = {
},
}

export default nextConfig
export default withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
})(nextConfig)

0 comments on commit ffacc74

Please sign in to comment.