I have issues with compile multi-mainConfigFile in grunt-contrib-requirejs.
I don't know how to configure the gruntfile.js,although read page 'Grunt & requirejs optimizer for a multi app project'.
- I have thesee files
.
├── index.js
├── main.js
└── module
├── common.js
└── dao.js
- requirejs config in gruntfile.js
```
requirejs: {
compile: {
options: {
name : "main",
optimize: "uglify",
mainConfigFile: "./assets/js/main.js",
out: "./static/js/app.min.js"
}
}
}
```
That is all .
I want to compile index.js and main.js .
Please help me.