npm i -D css-loader eslint-loader file-loader less-loader postcss-loader string-replace-loader style-loader url-loader
//@require "../../**/*.html"
=> too many errors//@require "../../**/*.png"
=> hey look! embedded urls, but are the paths right?require('../../partial/header.html');
=>Can't resolve './static/images/logo.png'
- https://www.npmjs.com/package/resolve-url-loader => hrm
- change the
src
tag inheader.html
=> no dice - https://github.com/webpack-contrib/html-loader
publicPath
in config? => Nooooooooo- https://stackoverflow.com/questions/32753650/webpack-loading-images-from-html-templates
- `<img src="<%=require("../static/images/logo.png")%>"