[React] webpack.config / babel 환경설정 용어정리
오늘은 헷갈리는 webpack.config 설정을.. 제가 공부하려고 제나름대로 정리해봤습니다... const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { name: 'react-project', mode: 'development', resolve: { extensions: ['.js', '.jsx'], }, entry: './src/index.jsx', plugins: [ new HtmlWebpackPlugin({ template: 'index.html', filename: 'index.html', }), ], module: { rules: [ { test: /\.jsx?..
2023. 3. 2.