mariusbalcytis / webpack-bundle

Bundle to Integrate Webpack into Symfony
MIT License
122 stars 36 forks source link

webpack4 support #88

Open mvrhov opened 6 years ago

mvrhov commented 6 years ago

People are experiencing a large boost in build times. @mariusbalcytis do you have any plan in providing the new configs?

devsigner-xyz commented 5 years ago

I was able to adapt webpack 4 by making a few minor changes to webpack.config.js and updating packages in package.json.

These changes make webpack work well when I use dev-server, the only problem I have is that when I launch webpack for production I do not generate the links to the style sheets, I think it is due to some conflict between the maba.yml configuration and the new version of webpack.

If I find the solution I will write here again.

P.S.: Compilation times don't improve when upgrading to webpack 4, at least I haven't achieved a significant improvement.

sschueller commented 5 years ago

I was able to adapt webpack 4 by making a few minor changes to webpack.config.js and updating packages in package.json.

These changes make webpack work well when I use dev-server, the only problem I have is that when I launch webpack for production I do not generate the links to the style sheets, I think it is due to some conflict between the maba.yml configuration and the new version of webpack.

If I find the solution I will write here again.

P.S.: Compilation times don't improve when upgrading to webpack 4, at least I haven't achieved a significant improvement.

If you find a solution please make a pull request. thanks.