Grunt requirejs task

209 Views Asked by At

I have created requirejs task for concatenating and minifying js files. The files are going to build/js folder. But apart from combined version of js files all other files are also moving to build/js folder. What is the configuration option so that i can avoid that.

1

There are 1 best solutions below

2
thomaux On BEST ANSWER

You are looking for the removeCombined option.

From the example.build.js file:

If set to true, any files that were combined into a build bundle will be removed from the output folder.