razzle 4.0์ ๋ฌด์์ด ๋ค์ด๊ฐ์ผ ํ ๊น์? ์นด๋๋ฆฌ์ ๋ธ๋์น์ ์๋ก์ด ๊ธฐ๋ฅ์ ๋ง์ด ์ถ๊ฐํ์ต๋๋ค.
๋ด๊ฐ ํ์ฌ 4.0์ ์ค๋นํ ์ ์๋ค๊ณ ์๊ฐํ๋ ๊ธฐ๋ฅ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
์ง๊ธ ์๋ํ๋ ค๋ฉด:
npx create-razzle-app<strong i="23">@canary</strong> testing --ignore-existing
cd testing
yarn add [email protected] --dev
yarn start
yarn build
yarn start:prod
yarn test
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.0
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.1
https://github.com/jaredpalmer/razzle/releases/tag/v4.0.0-canary.2
์ฐธ๊ณ : ๋ฒ๊ทธ ์์ ;)
์ด๊ฒ์ด ์ค๋น๋๊ธฐ๊น์ง ์ผ๋ง๋ ๊ฑธ๋ฆฝ๋๊น? ์ ๊ทธ๋ ์ด๋ ๊ฐ์ด๋๊ฐ ์์ต๋๊น?
์ด๊ฒ์ ์๋ํ๊ธฐ๋ฅผ ๊ธฐ๋ค๋ฆด ์ ์์ต๋๋ค ๐
๊ทธ๋์, razzle 4.0์ด ์ ๋ง ๊ฐ๊น์ต๋๋ค. ์ฝ์ํฉ๋๋ค :) anoyne์ด ์นด๋๋ฆฌ์๋ฅผ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ๋์ ๋๋ ๋ฌธ์ ๋ฅผ ์ฐพ์ ์ ์๋๋ก ์ต์ ๋ฒ์ ์ ์ฌ์ฉํด ๋ณด์ธ์.
์ด๋ฒ ์ฃผ์ ๊ณํํ์ง๋ง ์ถํ ๋ฌธ์ ๊ฐ ์์์ต๋๋ค. ๋ค์์ฃผ ์์์ผ์ ์๋ํฉ๋๋ค. ๊ทธ ๋์ ์นด๋๋ฆฌ์ 50์ ์๋ํ์ฌ ๊ด์ฐฎ์์ง ํ์ธํ์ญ์์ค.
https://www.npmjs.com/package/razzle/v/4.0.1-canary.0 - ํจ์น ๋ฒํ์ ํ์
html-webpack-plugin์์ ๋ฌธ์ ๋ฅผ ๋ฐ๊ฒฌํ์ต๋๋ค. 4.0.1 ๋ฆด๋ฆฌ์ค ์ ์ ์ดํด๋ด์ผ ํฉ๋๋ค. peerDeps๋ฅผ ์ฌ์ฉํ์ฌ ์ฝ๊ฒ ์์ ํ ์ ์์ต๋๋ค. ์ด ๊ฒฝ์ฐ ์ฌ์ ํ ์์์ผ์ ์ถ์๋ ์ ์์ต๋๋ค.
๋๊ตฐ๊ฐ๊ฐ ์นด๋๋ฆฌ์๋ฅผ ์ฌ์ฉํ๋ค๋ฉด ์ต์ '4.0.1-canary.6'์ ์ฌ์ฉํด ๋ณผ ์ ์์ต๋๊น?
html-webpack-plugin ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
https://razzle-git-canary-jared.vercel.app/getting-started#dependencies ์ฐธ์กฐ
์ค์นํ๋ ๋ชจ๋ ์ฝ์ด razzle ํจํค์ง์ @4.0.1-canary.6์ ์ถ๊ฐํ๊ธฐ๋ง ํ๋ฉด ๋ฉ๋๋ค.
๋๋ ์ด๊ฒ์ด ๋น์ ์ ์ํด ์๋ํ๋์ง ํ์ธํ์ญ์์ค
npx create-razzle-app<strong i="11">@canary</strong> --verbose --example with-typeorm-graphql with-typeorm-graphql
์ด๋ก ์ธํด ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ง ์์ผ๋ฉด 4.0.1์ ๋ฆด๋ฆฌ์คํ๊ฒ ์ต๋๋ค. ๋๋ง์ด ์๋๋ผ ๋น์ ์๊ฒ ํจ๊ณผ๊ฐ ์๋ค๋ ํ์ธ์ด ํ์ํฉ๋๋ค. :)
๋ฆด๋ฆฌ์ค 4.0.1-canary.15 . ์์ ์ค์น/๋น๋/์์์ ์ํ ์ถ๊ฐ๋ ํ ์คํธ๋ ์์์ผ์ ๋ฆด๋ฆฌ์ค๋ฅผ ๋ค์ ์๋ํฉ๋๋ค.
Razzle 4.0.1์ด ์ถ์๋์์ต๋๋ค!! ํ์
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Razzle 4.0.1์ด ์ถ์๋์์ต๋๋ค!! ํ์