So I jotted down a whole lot of links for when I was learning webpack, and thought maybe someday I’d write a blog post, but that I probably wouldn’t really. That day may come, but that day is not now :P Posting this in case others may want to browse through the links that I found useful when trying to convert an application in AngularJS 1.x with Gulp, using ngupgrade with Angular5 and webpack, onto just one build with the Angular CLI.
-
https://webpack.js.org/api/loaders/
- https://medium.com/@MarkPieszak/using-pug-or-jade-templates-with-the-angular-cli-9e37334db5bc
- ng add ng-cli-pug-loader
- https://www.npmjs.com/package/pug-html-loader
- https://www.npmjs.com/package/exports-loader
- https://github.com/webpack-contrib/copy-webpack-plugin
- https://github.com/webpack-contrib/mini-css-extract-plugin
- DONT USE > https://github.com/webpack-contrib/extract-text-webpack-plugin
- https://github.com/s-panferov/awesome-typescript-loader
- https://www.npmjs.com/package/gulp-inject-webpack-plugin
- https://www.npmjs.com/package/indexhtml-webpack-plugin
- https://github.com/jharris4/html-webpack-include-assets-plugin
- https://github.com/altbit/inject-assets-webpack-plugin
-
https://gist.github.com/sokra/1522d586b8e5c0f5072d7565c2bee693
- https://gist.github.com/gricard/e8057f7de1029f9036a990af95c62ba8
- https://webpack.js.org/configuration/optimization/#optimization-splitchunks
- https://webpack.js.org/plugins/split-chunks-plugin/
- https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
- https://www.youtube.com/watch?v=hQBAQh5AFwA
- https://webpack.js.org/configuration/optimization/#optimization-minimizer
- https://webpack.js.org/plugins/uglifyjs-webpack-plugin/