Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Requirejs: Remove/delete build.txt after build

Tags:

requirejs

After successfully optimizing and building the modules using r.js library, you would find the file build.txt with the summary of all the modules and its dependencies.

I don't want this build.txt file to reach the production server.

Apart from manually deleting the build.txt, is there any way to suppress or remove this file?

Manual deletion is not the answer that I am looking for as you might forget to delete it sometimes.

like image 362
Vijey Avatar asked Jan 27 '13 18:01

Vijey


1 Answers

As I understood the source code, there is no way to prevent the creation of the build.txt.

like image 173
Andreas Köberle Avatar answered Sep 28 '22 00:09

Andreas Köberle