I use webpack to create a hash compiled file, and it's ok, but now our team leader wants to use Handlebar. How can I pass the compiled hash filename to the import on the Handlebar file?
Here is a snapshot of my conf:
Webpack config:
{
entry: './src/index.js',
output: {
filename: 'static/js/[name].[hash].js',
path: path.resolve(__dirname, 'dist'),
publicPath: '/'
}
}