Dynamic string substitution with Webpack