How to prevent webpack from renaming js file?

Discussão em 'Angular' iniciado por rtaft, Novembro 19, 2024.

  1. rtaft

    rtaft Guest

    I have an angular project that is using webpack. I am also lazy loading several components of my application. 2 of those components use the d3 library. Ever since I added the second component, the d3 library gets lazy loaded separately using the filename node_modules_d3_index_js.js which represents its path node_modules/d3/index.js. Is there a way to rename this to d3.js or d3.min.js.

    Continue reading...

Compartilhe esta Página