-
Notifications
You must be signed in to change notification settings - Fork 28
/
webpack.mix.js
31 lines (30 loc) · 873 Bytes
/
webpack.mix.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
25
26
27
28
29
30
31
let mix = require('laravel-mix')
mix
.options(
{
publicPath: 'public',
assetsPath: 'assets'
}
)
.js([
'assets/js/app.js',
'assets/js/cscripts/gallery1.js'
], 'public/js')
.sass('assets/sass/app.scss', 'public/css/app_sass.css')
.stylus('assets/sass/stylus/_sections.styl', 'public/css/sections_stylus.css')
.stylus('assets/sass/stylus/_app.styl', 'public/css/app_stylus.css')
.stylus('assets/sass/stylus/_styler.styl', 'public/css/styler_stylus.css')
.styles(
[
'public/css/app_sass.css',
'public/css/sections_stylus.css',
'public/css/app_stylus.css',
'public/css/styler_stylus.css',
'node_modules/vuse/dist/vuse.css'
],
'public/css/app.css'
)
// for gallery1
.js('assets/js/cscripts/gallery1.js', 'public/js/cscripts/gallery1.js')
//
.copyDirectory('assets/img', 'public/img')