Uncaught ReferenceError: process is not defined
solution
1. npm i process
- install process
2. add plugin setting in webpack.config.js
const webpack = require('webpack')
...
module.exports = {
...
plugin:[
...
new webpack.ProvidePlugin({
process: 'process/browser',
})
]
}
'More than TIL > Bundlers' 카테고리의 다른 글
모듈과 번들러, Parcel, Rollup, Webpack (0) | 2022.09.17 |
---|---|
webpack5 경로(별칭) 설정하기 (0) | 2022.05.13 |
NPM 웹팩(WebPack) 번들러 시작하기 2 (0) | 2022.05.07 |
NPM 웹팩(WebPack) 번들러 시작하기 1 (0) | 2022.05.06 |
regeneratorRuntime is not defined Parcel (0) | 2022.05.01 |