yii2-webpack icon indicating copy to clipboard operation
yii2-webpack copied to clipboard

webpack (2.*/3.*) Invalid configuration object

Open lomion69 opened this issue 7 years ago • 5 comments

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.entry should be one of these: object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function The entry point(s) of the compilation.

lomion69 avatar Oct 16 '17 12:10 lomion69

Hi, please comment if need more info

lomion69 avatar Oct 18 '17 13:10 lomion69

Hello,

Please check the readme and have a look to webpack-yii2.json file. This where you have to define the entry points of your scripts

pgaultier avatar Oct 26 '17 06:10 pgaultier

Hi. i am using Yii2.0 and wanted to integrate webpack , i am new to Yii 2.0 can you share with me the detail steps for webpack integration in Yii 2.0 Thanks

rajesh0231 avatar Nov 07 '17 07:11 rajesh0231

@rajesh0231 please have a look at the readme, it should do the trick.

pgaultier avatar Nov 19 '17 17:11 pgaultier

Please, fix your configs generator (it belongs to topic). Should it works correctly without any changes after installation? Thank you.

lomion69 avatar Dec 02 '17 00:12 lomion69