Gulp 4์๋ ํ์ฌ gulp ์ ์ ํ์ผ์ ์ผ๋ถ๊ฐ ์๋ series()
๋ฐ parallel()
์ ๊ฐ์ ์๋ก์ด ๋ฉ์๋๊ฐ ๋์
๋์์ต๋๋ค.
๋๋ ์ด๊ฒ์ด #16121๋ก ๋๋ฌ๋ค๊ณ ๋ฏฟ๋๋ค.
๋๋ parallel()
์์ @types/gulp@4
series()
์ parallel()
๋ฅผ ์์ง ๋ณด์ง ๋ชปํ์ต๋๋ค.
CLI version 2.0.1
Local version 4.0.0
๋๋ ๊ฐ์ ๋ฌธ์ ๋ฅผ ๊ฐ์ง๊ณ ์๋ค.
์์ ์ ์คํํ๋ฉด ์ด ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
TSError: โจฏ Unable to compile TypeScript:
gulpfile.ts(4,20): error TS2305: Module '"../../../PROJECT/node_modules/@types/gulp"' has no exported member 'series'.
gulpfile.ts(4,28): error TS2305: Module '"../../../PROJECT/node_modules/@types/gulp"' has no exported member 'parallel'.
@ types/undertaker์์ @ types/gulp๋ก ์ง๋ ฌ ๋ฐ ๋ณ๋ ฌ ์ ํ์ ์ ์กํ๋ฉด ์ค๋ฅ๊ฐ ์ฌ๋ผ์ง๋๋ค.
PS ๋ฌธ์ ๋ @types/undertaker ์ค์น๋ก ํด๊ฒฐ๋์์ต๋๋ค.
PSS ๊ฐ๋ น์ ์ ๋ํด ์ฃ์กํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋๋
parallel()
์์@types/gulp@4
series()
์parallel()
๋ฅผ ์์ง ๋ณด์ง ๋ชปํ์ต๋๋ค.