반응형
SMALL
npm run dev 를 실행하니
> response-check@1.0.0 dev
> webpack serve --hot --env development
[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 'publicPath'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, static?, watchFiles?, webSocketServer? }
이런 에러가 발생했다.
이건
webpack.config.js 에서
publicPath를 모두 지워주면 해결 완료!
반응형