Abhijeet Mishra
Abhijeet Mishra

Reputation: 443

Grunt requirejs task

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.

Upvotes: 2

Views: 202

Answers (1)

thomaux
thomaux

Reputation: 19718

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.

Upvotes: 1

Related Questions