Created
June 13, 2018 02:27
-
-
Save delphinpro/f46fe4bae5cef3171e365abae3ab2e36 to your computer and use it in GitHub Desktop.
Lazy load module with webpack
This file contains hidden or 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
import('./shop.js').then(module => { | |
module.doInit(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment