Javascript/FE ๊ฐœ๋ฐœํ™˜๊ฒฝ์„ค์ •

    [์›นํŒฉ][๋ฐ”๋ฒจ] ํŒจํ‚ค์ง€ ์ด ์„ค์น˜

    [์›นํŒฉ][๋ฐ”๋ฒจ] ํŒจํ‚ค์ง€ ์ด ์„ค์น˜

    ๋ฒˆ๋“ค๋ง : ๋ชจ๋“  ํŒŒ์ผ๋“ค์„ ํ•˜๋‚˜ํ•˜๋‚˜์˜ ๋ชจ๋“ˆ๋กœ ๋ณด๊ณ , ์ด ๋ชจ๋“ˆ๋“ค์„ ๋ฐฐํฌ์šฉ์œผ๋กœ ๋ณ‘ํ•ฉํ•˜๊ณ  ํฌ์žฅํ•˜๋Š” ์ž‘์—….(์ตœ์ ํ™”๋„ ํ•ด์คŒ) ์ด๋Ÿฌํ•œ ๋ฒˆ๋“ค๋ง ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๋Š” ํˆด์„ ๋ฒˆ๋“ค๋Ÿฌ๋ผ๊ณ  ํ•œ๋‹ค. ํ˜„์žฌ ์‹œ์ ์—์„œ๋Š” ๋ฒˆ๋“ค๋Ÿฌ ์ค‘์—์„œ '์›นํŒฉ'์ด ๊ฐ€์žฅ ์ธ๊ธฐ๊ฐ€ ๋งŽ๋‹ค. ์ฒ˜์Œ package.json ์ƒํƒœ { "name": "webpack-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "build": "cross-env NODE_ENV=production webpack --progress", "start": "webpack serve --progress" }, "keywords": [], "author": "", "license": "ISC" } webp..

    [FE ๋ฒˆ๋“ค๋Ÿฌ] parceljs

    ๐Ÿš€ ์‹œ์ž‘ํ•˜๊ธฐ (parceljs.org) ๐Ÿš€ ์‹œ์ž‘ํ•˜๊ธฐ ko.parceljs.org ๐Ÿš€ ์‹œ์ž‘ํ•˜๊ธฐ Parcel[ํŒŒ์„ค, /parsษ™l/]์€ ๊ฐœ๋ฐœ ๊ฒฝํ—˜์—์„œ ์ฐจ์ด๋ฅผ ๋Š๋‚„์ˆ˜ ์žˆ๋Š” ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ฒˆ๋“ค๋Ÿฌ ์ž…๋‹ˆ๋‹ค. ๋ฉ€ํ‹ฐ์ฝ”์–ด ํ”„๋กœ์„ธ์‹ฑ์œผ๋กœ ๋ถˆ๊ฝƒ ํŠ€๊ฒŒ ๋น ๋ฅธ ์„ฑ๋Šฅ์„ ์ œ๊ณตํ•˜๊ณ  ๊ทธ ์–ด๋–ค ์„ค์ •๋„ ์š”๊ตฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋จผ์ € npm ์œผ๋กœ Parcel ์„ ์„ค์น˜ npm: npm install -g parcel-bundler ๊ทธ ๋‹ค์Œ, package.json ํŒŒ์ผ์„ ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ† ๋ฆฌ์— ๋งŒ๋“œ์„ธ์š”. npm init -y Parcel ์€ ์–ด๋–ค ์œ ํ˜•์˜ ํŒŒ์ผ์ด๋ผ๋„ ์ง„์ž…์ ์œผ๋กœ ์ทจํ•  ์ˆ˜ ์žˆ์ง€๋งŒ HTML ์ด๋‚˜ JavaScript ํŒŒ์ผ์ด ์ข‹์Šต๋‹ˆ๋‹ค. ๋งŒ์•ฝ HTML ํŒŒ์ผ ๋‚ด์— ์ƒ๋Œ€๊ฒฝ๋กœ๋กœ ๋ฉ”์ธ JavaScript ํŒŒ์ผ์„ ์—ฐ๊ฒฐ ํ–ˆ๋‹ค๋ฉด, Parcel ์€ ์ด ๋˜ํ•œ ์ฒ˜๋ฆฌ..

    node.js ์ด์šฉํ•ด์„œ ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑํ•˜๊ธฐ

    node.js ์ด์šฉํ•ด์„œ ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑํ•˜๊ธฐ

    ์ฐธ๊ณ : [Node.js ์ฝ”๋“œ๋žฉ] 1.์˜ค๋ฆฌ์—”ํ…Œ์ด์…˜ | ๊น€์ •ํ™˜ ๋ธ”๋กœ๊ทธ (jeonghwan-kim.github.io) ํ”„๋ก ํŠธ์—”๋“œ ๊ฐœ๋ฐœํ™˜๊ฒฝ์˜ ์ดํ•ด: NPM | ๊น€์ •ํ™˜ ๋ธ”๋กœ๊ทธ (jeonghwan-kim.github.io) 1. ๊ฐœ๋ฐœ์„ ์ง„ํ–‰ํ•  ์ ๋‹นํ•œ ๋นˆํด๋” ํ•˜๋‚˜ ๋งŒ๋“ค๊ธฐ ์•„๋ž˜ ์ˆœ์„œ๋Œ€๋กœ ์ž‘์„ฑํ•˜๊ธฐ npm init ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ๋ช…๋ น์–ด๋กœ, ํ”„๋กœ์ ํŠธ์˜ ๋ฉ”ํƒ€ ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ๋Š” ํ™”๋ฉด์ด ์ œ๊ณต๋œ๋‹ค. ์•„๋ž˜์™€ ๊ฐ™์ด ๋œฌ๋‹ค npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults. See `npm help init` for d..