Created
February 16, 2017 08:10
-
-
Save cjke/bbbbda842d04153fbe8f3a0f71d958dd to your computer and use it in GitHub Desktop.
webpack - maybe?
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
test: function(item) { | |
if(item.split('.').pop() !== 'svg') return false; | |
var contents = fs.readFileSync(item, 'utf-8'); | |
return contents.includes('<font') && contents.includes('<font-face'); | |
}, | |
loader: 'foofoo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment