ModusCreateOrg/react-dynamic-route-loading-es6

Invalid configuration object.

Closed this issue · 1 comments

When i try to run a npm script after install i always get:

Invalid configuration object. webpack-dev-server has been initialised using a configuration object that does not match the API schema.
 - configuration has an unknown property 'inject'. These properties are valid:
   object { hot?, hotOnly?, lazy?, host?, filename?, publicPath?, port?, socket?, watchOptions?, headers?, clientLogLevel?, key?, cert?, ca?, pfx?, pfxPassphrase?, inline?, public?, https?, contentBase?, watchContentBase?, open?, features?, compress?, proxy?, historyApiFallback?, staticOptions?, setup?, stats?, reporter?, noInfo?, quiet?, serverSideRender?, index?, log?, warn? }

what is inject supposed to do? i can't find a doc about that property.

grgur commented

`inject is no longer supported in Webpack 2