chore: env 기준 추가
This commit is contained in:
parent
e51f0b1dcb
commit
69e1077c2c
1
.env.development
Normal file
1
.env.development
Normal file
@ -0,0 +1 @@
|
|||||||
|
NEXT_PUBLIC_TEST="테스트변수입니다. development"
|
||||||
1
.env.production
Normal file
1
.env.production
Normal file
@ -0,0 +1 @@
|
|||||||
|
NEXT_PUBLIC_TEST="테스트변수입니다. production"
|
||||||
@ -1,15 +1,15 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: false,
|
reactStrictMode: true,
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
config.externals.push({
|
config.externals.push({
|
||||||
"utf-8-validate": "commonjs utf-8-validate",
|
'utf-8-validate': 'commonjs utf-8-validate',
|
||||||
bufferutil: "commonjs bufferutil",
|
bufferutil: 'commonjs bufferutil',
|
||||||
canvas: "commonjs canvas",
|
canvas: 'commonjs canvas',
|
||||||
});
|
})
|
||||||
// config.infrastructureLogging = { debug: /PackFileCache/ };
|
// config.infrastructureLogging = { debug: /PackFileCache/ };
|
||||||
return config;
|
return config
|
||||||
},
|
},
|
||||||
};
|
}
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig
|
||||||
|
|||||||
@ -1,16 +1,12 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
|
import { Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from '@nextui-org/react'
|
||||||
import Hero from '@/components/Hero'
|
import Hero from '@/components/Hero'
|
||||||
import {
|
import QSelect from '@/components/ui/QSelect'
|
||||||
Table,
|
import styles from './changelog.module.css'
|
||||||
TableBody,
|
|
||||||
TableCell,
|
|
||||||
TableColumn,
|
|
||||||
TableHeader,
|
|
||||||
TableRow,
|
|
||||||
} from '@nextui-org/react'
|
|
||||||
|
|
||||||
export default function changelogPage() {
|
export default function changelogPage() {
|
||||||
|
const testVar = process.env.NEXT_PUBLIC_TEST
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Hero title="Change log" />
|
<Hero title="Change log" />
|
||||||
@ -35,6 +31,10 @@ export default function changelogPage() {
|
|||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="px-2 py-4">
|
||||||
|
<QSelect />
|
||||||
|
</div>
|
||||||
|
<div className="w-full bg-orange-300 py-4">{testVar}</div>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user