-
-
Save arsenetoumani/be73ae625b1495ae97a68e2190afc983 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
'use strict'; | |
require("./app-styles"); // get app styles | |
require("../src/app/app.module"); // get app module | |
function importAll(r) { | |
r.keys().forEach(r); | |
} | |
// get all of the app's js and jsx files - excluding modules and spec files | |
importAll( | |
require.context("../src/app/", true, /^(?!.*\.module\.js$)^(?!.*\.(spec|test)\.(js|jsx)$).*\.(js|jsx)$/) | |
); | |
require('./app-templates'); // get app's templates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment