Closed hedii closed 8 years ago
Hi, i don't know if the issue is specific to laravel-elixir-vueify or to vueify, but some absolute paths are exposed in the compiled js. Like in your example repo : https://github.com/laracasts/Laravel-Elixir-Vueify-Setup/blob/master/public/js/main.js#L10600
it can be dangerous in production server, because it exposes the project path, and also the user on linux systems ('/home/the_user/public_html/......')
is there a workaround to avoid that?
to get rid of absolute paths: export NODE_ENV=production && gulp --production
export NODE_ENV=production && gulp --production
Hi, i don't know if the issue is specific to laravel-elixir-vueify or to vueify, but some absolute paths are exposed in the compiled js. Like in your example repo : https://github.com/laracasts/Laravel-Elixir-Vueify-Setup/blob/master/public/js/main.js#L10600
it can be dangerous in production server, because it exposes the project path, and also the user on linux systems ('/home/the_user/public_html/......')
is there a workaround to avoid that?