Closed birkansava closed 7 years ago
ah It solved after that I've moved that line ".webpack('index.main.js', 'public/js/app.js')" to before versioning line : ".version(assets)" so my gulpfile.js is like this now :
.copy('angular/app/**/*.html', 'public/views/app/')
.copy('angular/dialogs/**/*.html', 'public/views/dialogs/')
.sass(['**/*.scss', 'critical.scss'], 'public/css')
.sass('critical.scss', 'public/css/critical.css')
.styles(styles, 'public/css/final.css')
.eslint('angular/**/*.js')
.combine(scripts, 'public/js/final.js')
.webpack('index.main.js', 'public/js/app.js')
.version(assets)
.swPrecache();
I'm using version 3.4 and It's working when I ran only "gulp" but I got this error when I ran gulp watch. node -v : 6.9.4 npm -v : 3.10.10 laravel-elixir : ^6.0.0-9