Mar 26, 2017
0
Level 3
elixir 4(laravel 5.1) browserify/scripts removes "virtually" unused js methods
Hello,
I've been struggling past couple hours with an issue, I have a helpers.js in my resources/js/guest/ and there are a few helper methods that support various needs of the project.
However when I use gulp/elixir to concat and uglify the js, the "virtually" unused methods are being removed from the dist file as a result the front-end breaks apart.
I've searched but nothing so far that could solve my issue, all I've found is "http://stackoverflow.com/questions/41171646/stop-gulp-removing-unused-javascript-functions" which doesn't help me because in elixir 4 there are no such options in the config file.
Any ideas?
Best Regards
Please or to participate in this conversation.