Created
November 18, 2016 09:04
-
-
Save Axighi/369d056e2b0d1d3f71463d2022ff5f06 to your computer and use it in GitHub Desktop.
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
var req = require.context("../someDir", true, /^(.*\.(js$))[^.]*$/igm); | |
req.keys().forEach(function(key){ | |
req(key); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment