-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ fix ] cloudflare deployment #24
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build & next export", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"test": "jest", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. μ΄ μ½λ ν¨μΉλ next.js νλ‘μ νΈμ NPM μ€ν¬λ¦½νΈλ₯Ό μμ ν©λλ€. "next build & next export"κ° "next build" λ‘ λ³κ²½λμμ΅λλ€. μ΄κ²μ λ€μκ³Ό κ°μ ν¨κ³Όκ° μμ΅λλ€.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
babel-loader
μ€μ μ λμ± κ°ννλ©΄ μ½λ μ΅μ νμ λμμ΄ λ μ μμ΅λλ€. μλ₯Ό λ€μ΄,exclude
μ΅μ μ μΆκ°νμ¬node_modules
μ κ°μ νμ μλ λλ ν 리λ₯Ό μ μΈν μ μμ΅λλ€.νΉμ μμ§ μ μ©νμ§ μμλ€λ©΄ λ°νμ νμΈκ³Ό ESlint ν΅ν©μ μν΄ 'reactStrictMode'λ₯Ό
true
λ‘ μ€μ ν΄λ κ²μ΄ μ’μ΅λλ€.μ½λμ
output
μμ±μ΄ μ κ±°λ μ΄μ κ° κΆκΈν©λλ€. μ΄ μμ±μ λ€μκ³Ό κ°μ΄ μΆλ ₯ νμΌλͺ μ κ²°μ νλ λ° μ¬μ©ν μ μλ μμ±μ λλ€:λ§μ½ μ΄ μμ μ΄ μλμ μ΄λΌλ©΄ λ¬Έμ λ μμ§λ§ μ€μλ‘ μμ λμλ€λ©΄ μ΄λ₯Ό νμΈνλ κ²μ΄ μ€μν©λλ€.