Closed shuaibird closed 5 years ago
Victor Hugo currently uses Gulp for copying assets, but still using Webpack for other things. I'd like to see us use Webpack for everything, with the copy plugin for moving static assets, and a hash can be added in the copy plugin config. For example:
[
new CopyWebpackPlugin([
{
from: 'src/',
to: 'dest/[name]-[hash].[ext]',
}
])
]
make sense. It would be much clearer to use webpack solely.
Hugo 0.43 and above now supports fingerprinting naively, Webpak not necessary
Latest hugo-bin is 0.42, we'll get 0.43 when available.
@shuaibird agreed, we should drop gulp.
hugo is now at 0.50. Is @erquhart's usage of the copy plugin still the way to go to get fingerprinted assets?
It seems currently this template doesn't add a hash to static assets automatically. Not sure whether this feature has been shipped already.