pug-html-loader icon indicating copy to clipboard operation
pug-html-loader copied to clipboard

Add support for loader-utils.interpolateName()

Open rmrfslashbin opened this issue 8 years ago • 0 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')
}

rmrfslashbin avatar Feb 04 '18 16:02 rmrfslashbin