plotly / dash-component-boilerplate

Get started creating your own Dash components here.
265 stars 182 forks source link

upgrade to webpack 5 #146

Closed Brandontam29 closed 1 year ago

Brandontam29 commented 2 years ago

I think it would be good to update all the packages used in webpack as a lot of the packages are still using a version of node that will exit lts.

sekamaneka commented 1 year ago

any news on that?

mohsenhadadi1986 commented 1 year ago

For example i couldn't insert svg file in my react component, I changed the webpack file. Please update the webpack part. Also, sass it's not possible to include. I think that is the problem of webpack. anyway i didn't find the solution to use sass in my react components.

T4rk1n commented 1 year ago

We updated the webpack version & config of the boilerplate in #155 .

To update an existing library, you can copy the new config: https://github.com/plotly/dash-component-boilerplate/blob/master/%7B%7Bcookiecutter.project_shortname%7D%7D/webpack.config.js