Last active
August 29, 2015 14:26
-
-
Save ckluis/705866cde22a1d164c87 to your computer and use it in GitHub Desktop.
folder based asset inclusion example
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
//<logic> | |
// var path = src assigned in link | |
// if path folder contains a file with .css load .css file | |
// else if path folder contains a file with .scss load .scss file and include scssCompiler.js | |
// else path folder contains a file with .less include and include lessCompiler.js | |
//</logic> | |
<link src="assets/style/"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment