Search code examples
laravellaravel-elixir

Laravel-elixir. Versioning without keeping original files


Is there any way to make versioned files without keeping originals? I want to merge files and make versioned ones without keeping merged, but not versioned copies in public directory. I would like to avoid files duplication. I guess that I can use underlying gulp functions to generate result files through the stream, but maybe there is elixir-way for this purpose?


Solution

  • You should keep your compiled files and versioned files in separate directories. After versioning, you can clear the compiled directory if you want to.