problem description
use nodejs for server rendering and pug for rendering templates. Static resources are packaged through webpack. In order to solve the caching problem, how can webpack or gulp insert the static resource path with hash into the pug?
node: v8.9.3
webpack: 4.16.1
pug: 2.0.0-rc.3
express: 4.15.4
do you want to manually modify it one by one?