Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jest htm loader preprocessor
const htmlLoader = require('html-loader');
module.exports = {
process(src, filename, config, options) {
return htmlLoader(src);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.