Skip to content

Commit

Permalink
feat: next에서 사용 가능하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hwookim committed Jan 30, 2023
1 parent 356edd2 commit b1142f0
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 176 deletions.
7 changes: 5 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
const removeImports = require('next-remove-imports')();

const nextConfig = removeImports({
reactStrictMode: true,
swcMinify: true,
webpack(config) {
Expand All @@ -12,6 +14,7 @@ const nextConfig = {
images: {
domains: ['*'], // TODO: S3 주소만 허용할 건지 논의 필요
},
};
experimental: { esmExternals: true },
});

module.exports = nextConfig;
Loading

0 comments on commit b1142f0

Please sign in to comment.