Laravel Elixir version rev-manifest incomplete on gulp default task -
i have gulpfile (using laravel elixir) set create 4 files.
app.css app.js vendor.css vendor.js
when run either gulp
, or gulp default
app.js
not created. yet if run gulp watch
, created perfectly.
here elixir method:
elixir(function(mix) { // register html watcher mix.templates() // compile app css .sass('app.scss', null, { includepaths: require('node-bourbon') .with(require('node-neat').includepaths) }) // concatenate vendor css .styles([ ... ], 'public/css/vendor.css', 'public/css/vendor') // minify & concatenate vendor js .scripts([ ... ], 'public/js/vendor.js', 'public/js/vendor') // minify , concatenate app js .scriptsin('resources/assets/js', 'public/js/app.js') // version compiled resources .version([ 'css/app.css', 'js/app.js', 'css/vendor.css', 'js/vendor.js' ]); });
Comments
Post a Comment