-
Notifications
You must be signed in to change notification settings - Fork 5
/
gulpfile.js
24 lines (21 loc) · 1.12 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
elixir((mix) => {
mix.sass('./src/resources/assets/sass/larafolio.scss', './dist/css/')
.styles([
'./src/resources/assets/vendor/normalize.css',
'/../../../node_modules/dropzone/dist/min/dropzone.min.css',
'./dist/css/larafolio.css'
], './dist/css/larafolio-final.css')
.webpack('./src/resources/assets/js/larafolio.js', './dist/js/')
.version([
'./dist/css/larafolio-final.css',
'./dist/js/larafolio.js'
], './dist/');
// .browserSync({open: false, proxy: 'http://localhost:8000/', notify: false})
mix.copy('./dist/css', 'vendor/laravel/laravel/public/vendor/larafolio/css')
.copy('./dist/images', 'vendor/laravel/laravel/public/vendor/larafolio/images')
.copy('./dist/zondicons', 'vendor/laravel/laravel/public/vendor/larafolio/zondicons')
.copy('./dist/js', 'vendor/laravel/laravel/public/vendor/larafolio/js')
.copy('./dist/rev-manifest.json', 'vendor/laravel/laravel/public/vendor/larafolio/rev-manifest.json');
});