-
-
Save GCheung55/2164903 to your computer and use it in GitHub Desktop.
Using link.js options
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 loader = require('../path/to/link'); | |
loader.alias('package', '../path/to/package.js'); | |
loader.alias('package2', '../path/to/package2.js'); | |
loader.base('../path/to/my/root/folder/'); | |
loader.load('main'); |
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
<script src="../path/to/link.js" data-main="bootstrap.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment