Last active
March 22, 2019 11:45
-
-
Save Kiwka/1f1a318331ac6c3fc344391ed85f8074 to your computer and use it in GitHub Desktop.
fix for flow error on html loading by adding resolvable extensions
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
// place this one in the [options] section in your flowconfig | |
module.name_mapper='^raw-loader!\(.*\.html?\)' -> '\1' | |
module.file_ext=.html | |
module.file_ext=.js | |
module.file_ext=.jsx | |
module.file_ext=.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment