Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import './main/page1.js'
- import './main/page2.js'
- ...
- import './main/pagex.js'
- const context = require.context('./core', true, /.(js)$/);
- context.keys().forEach(context);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement