Add support for loader-utils.interpolateName()
rmrfslashbin opened this issue · comments
Hi,
I have a use-case which could be handled by invoking loader-utils.interpolateName(). In doing so, I could add something like the below to my webpack config:
options: {
data: require('./src/pug/data/[name].json')
}