|
|
|
|
|
by gortok
3147 days ago
|
|
I've seen those docs. I tried implementing webpack to replace our gulp bundler (which was initially an ASP.NET Core Bundler) for an ASP.NET Core project. Unanswered questions that I left the project with (I time-boxed myself to 4 hours; as that was the initial length of time it took me to get gulp up and running in totality): - Why do I need a require for my CSS? I literally want to replace the css with its minified form. Maybe even bundle it together (I'd settle for the former). - How the heck is web-pack doing all this; and why is the package called 'extract-css-loader'? I don't want to extract CSS; I want to minify it. - If I want a source folder and a dist/ folder for my CSS; how would I get Webpack to update the URLs in the .html files? - Am I crazy for still doing this through HTML? Is there a 'better way' ? |
|