Te-cho / compile-blades

For Laravel 5.* views, where i've noticed that if you nest too much views, a performance drop happens. so i built this console command based package, that flatten the view into one file for production performance improvement.
https://packagist.org/packages/te-cho/compile-blades
MIT License
64 stars 23 forks source link

Deal with duplicated 'use' libraries in the output blade file. #1

Open abidulrmdn opened 7 years ago

abidulrmdn commented 7 years ago

After outputting the result file, in the case of using a lot of 'use' in the nested files, cause the result to have duplicate 'use' which cause php error.