๊ฐ•์˜

๋ฉ˜ํ† ๋ง

๋กœ๋“œ๋งต

Understanding and Practice of Frontend Development Environment (webpack, babel, eslint..)

I can understand pre-existing development environments. I can create a development environment from scratch.

(4.9) 216 reviews

3,042 learners

Level Intermediate

Course period Unlimited

Node.js
Node.js
Webpack
Webpack
Babel
Babel
ESLint
ESLint
Node.js
Node.js
Webpack
Webpack
Babel
Babel
ESLint
ESLint

If you are having problems with copy-webpack-plugin, please read this. (copy-webpack-plugin major update 2020-05)

When using copy-webpack-plugin, you may encounter problems with the webpack build.

cause

Backwards incompatibility due to major update of copy-webpack-plugin

The signature of the existing constructor function has changed.

- Existing: CopyPlugin(patterns, options)

- Change: CopyPlugin({ patterns, options })

Solution

// ๊ธฐ์กด: new CopyPlugin([ { from: "./node_modules/axios/dist/axios.min.js", to: "./axios.min.js", // ๋ชฉ์ ์ง€ ํŒŒ์ผ์— ๋“ค์–ด๊ฐ„๋‹ค }, ]), // ๋ณ€๊ฒฝ (์ด๋ ‡๊ฒŒ ๋ณ€๊ฒฝํ•˜์„ธ์š”) new CopyPlugin({ patterns: [ // patterns ํ‚ค๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. { from: "./node_modules/axios/dist/axios.min.js", to: "./axios.min.js", // ๋ชฉ์ ์ง€ ํŒŒ์ผ์— ๋“ค์–ด๊ฐ„๋‹ค }, ] }),
Comment