diff --git a/.env.development b/.env.development new file mode 100644 index 00000000..87e51c2b --- /dev/null +++ b/.env.development @@ -0,0 +1 @@ +NEXT_PUBLIC_TEST="테스트변수입니다. development" \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 00000000..e810ba94 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +NEXT_PUBLIC_TEST="테스트변수입니다. production" \ No newline at end of file diff --git a/next.config.mjs b/next.config.mjs index 8cc4c040..15466bd2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,15 +1,15 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: false, + reactStrictMode: true, webpack: (config) => { config.externals.push({ - "utf-8-validate": "commonjs utf-8-validate", - bufferutil: "commonjs bufferutil", - canvas: "commonjs canvas", - }); + 'utf-8-validate': 'commonjs utf-8-validate', + bufferutil: 'commonjs bufferutil', + canvas: 'commonjs canvas', + }) // config.infrastructureLogging = { debug: /PackFileCache/ }; - return config; + return config }, -}; +} -export default nextConfig; +export default nextConfig diff --git a/src/app/changelog/page.jsx b/src/app/changelog/page.jsx index 821254ec..1b45590f 100644 --- a/src/app/changelog/page.jsx +++ b/src/app/changelog/page.jsx @@ -1,16 +1,12 @@ 'use client' +import { Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from '@nextui-org/react' import Hero from '@/components/Hero' -import { - Table, - TableBody, - TableCell, - TableColumn, - TableHeader, - TableRow, -} from '@nextui-org/react' +import QSelect from '@/components/ui/QSelect' +import styles from './changelog.module.css' export default function changelogPage() { + const testVar = process.env.NEXT_PUBLIC_TEST return ( <> @@ -35,6 +31,10 @@ export default function changelogPage() { +
+ +
+
{testVar}
) }