3. Adding webpack-package and practice 1. Adding the webpack-package npm install --save-dev @babel/core @babel/preset-env @babel/preset-react babel-loader css-loader style-loader sass-loader sass webpack webpack-cli 2. Make 'webpack.common.js' in root directory and write through following code (through visual code) code webpack.common.js const path = require('path'); module.exports = { mode: 'development', entry: './src/js/main.js', .. 2023. 12. 31. 이전 1 다음