Colt Steele c932911657 Cache busting and HtmlWebpackPlugin
- Configured webpack to use contentHash in bundle file name
- This caused a problem with out script tag in index.html
- We installed HtmlWebpackPlugin to help us generate a new index.html
- It automatically includes the correct script tag at the bottom
- We created a template file that we passed in called template.html
- We deleted the original index.html because we don't need it anymore
- Make sure you are opening dist/index.html now to view the app
2019-03-05 15:24:55 -08:00
2019-03-04 22:51:35 -08:00
2019-03-05 15:24:55 -08:00
Description
No description provided
114 KiB
Languages
JavaScript 68%
HTML 31%
SCSS 1%