Created
April 27, 2018 12:23
-
-
Save aktraore/7fb02263aee4024a82b5f32041e42a56 to your computer and use it in GitHub Desktop.
Jest htm loader preprocessor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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