Created
December 10, 2014 19:36
-
-
Save Dremora/3c4b0bcd3126803780c1 to your computer and use it in GitHub Desktop.
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
define(function (require) { | |
require('hbs!./template'); | |
}); |
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
{ | |
"name": "require-handlebars-plugin-bug", | |
"dependencies": { | |
"requirejs": "2.1.15", | |
"require-handlebars-plugin": "0.11.1" | |
} | |
} |
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
({ | |
paths: { | |
hbs: 'bower_components/require-handlebars-plugin/hbs' | |
}, | |
dir: 'build', | |
removeCombined: true, | |
modules: [ | |
{ | |
name: 'foo', | |
exclude: [ 'bar' ] | |
}, | |
{ | |
name: 'bar' | |
} | |
] | |
}) |
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
define(function (require) { | |
require('bar'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment