Created
March 29, 2016 17:11
-
-
Save stdavis/ab2cdaca1d71097f78988b077d8da5e2 to your computer and use it in GitHub Desktop.
moment package definition for Dojo build system
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
| { | |
| packages: [{ | |
| name: 'moment', | |
| main: 'moment', | |
| resourceTags: { | |
| amd: function (filename) { | |
| return /\.js$/.test(filename); | |
| }, | |
| test: function (filename, mid) { | |
| return /\/tests/.test(mid); | |
| }, | |
| miniExclude: function (filename, mid) { | |
| return /\/src/.test(mid) || /\/templates/.test(mid); | |
| } | |
| } | |
| }] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment