If I give requirejs build file to requireConfigFile property. It will not read config correctly. And I found the parser only accept two style, requirejs({...}) (can be requirejs, require or require.config) and var config = {...}. But requirejs build file allow no require, requirejs or require.config in front of the brackets(more detail example). So, I add a getObjectLiteral function in parse.js for holding it.
If I give requirejs build file to requireConfigFile property. It will not read config correctly. And I found the parser only accept two style, requirejs({...}) (can be requirejs, require or require.config) and var config = {...}. But requirejs build file allow no require, requirejs or require.config in front of the brackets(more detail example). So, I add a getObjectLiteral function in parse.js for holding it.