zouhir / jarvis

A very intelligent browser based Webpack dashboard
5.44k stars 191 forks source link

Jarvis does not run if webpack's DefinePlugin is not used #53

Closed livingston closed 6 years ago

livingston commented 6 years ago

jarvis fails to start when used along with a webpack config that does not use the DefinePlugin.

This due to the index.js#L59.

definePlugin["definitions"] is undefined when DefinePlugin is not used.

zouhir commented 6 years ago

Oh!! This is a high priority One, will put a fix asap! Thank you for spotting it

jimblue commented 6 years ago

Yep same pb here!

James-E-Adams commented 6 years ago

A temporary fix at this point is to add new webpack.DefinePlugin({}) to your plugins in the webpack config.

zouhir commented 6 years ago

Released to npm!!!!!!! please install latest!