Subtemplates not using requirejs
Closed this issue · 3 comments
rodfersou commented
For some reason includeRequireJS
flag is not being set when create package with --requirejs
in .yo-rc.json
file.
I tried to find where to set it without success, can someone help me with that?
rodfersou commented
When I add this flag in my yo-rc.json
file everything went ok:
$ cat .yo-rc.json
{
"generator-backbone": {
"appPath": "app",
"appName": "CollectiveBehaviorFeaturedimage",
"testFramework": "mocha",
"templateFramework": "lodash",
"sassBootstrap": true,
"includeRequireJS": true,
"coffee": false
},
"generator-mocha": {}
}
rodfersou commented
But the default generator is not respecting the --requirejs
flag.
eddiemonge commented
I'm fairly sure this line
should instead bethis.options.requirejs