How can I import a hbs file as a string?
dan-pzbp opened this issue · comments
Daniel Starkey commented
I've got the following webpack config that allows me to import a hbs file content as a string on a sandbox project.
module: {
rules: [
{
test: /\.hbs$/,
type: "asset/source",
},
],
},
I don't seem to be able to get this to work though in an actual project that uses craco.