I'm trying to use Elixir's version() method with my 'public' folder being public_html (instead of the default 'public' method).
I version my css file, which produces a build folder with the manifest inside public_html
elixir.config.cssOutput = 'public_html/css';
elixir.config.jsOutput = 'public_html/js';
elixir(function(mix) {
mix.styles([
'vendor/normalize.css',
'app.css'
], null, 'public_html/css');
mix.version('public_html/css/all.css');
});
In my blade template I use
<link href="{{ elixir("css/all.css") }}" rel="stylesheet">
Problem is the elixir function searches in 'public/build' folder. How can I change this so it searches public_html folder?
Thank you in advance
elixir()
usespublic_path()
so you need to overridepath.public
as shown in the post I linked – Isom