[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options has an unknown property 'inline'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, setupExitSignals?, static?, watchFiles?, webSocketServer? }
webpack-dev-server 설정하던 도중 에러를 만났다..
webpack.config.js 설정에서 문제였고
https://webpack.kr/configuration/dev-server/#devserver
에 따라서 devServer:{} 설정을 다시해주었다.
'react' 카테고리의 다른 글
[React] 클래스형 컴포넌트 LifeCycle 정리 (0) | 2021.12.09 |
---|---|
Webpack이 뭔데!!(6) (0) | 2021.09.14 |
TestDome React Image Gallery App (0) | 2021.08.21 |
TestDome React Focusable Input (0) | 2021.08.20 |
TestDome React Change Username (0) | 2021.08.20 |
댓글