-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
30 lines (27 loc) · 1.23 KB
/
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
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
const path_js = 'resources/assets/js/'
const path_sass = 'resources/assets/sass/'
mix.js(path_js + 'app.js', 'public/js')
.js(path_js + 'admin.js', 'public/js')
.js(path_js + 'jquery.js', 'public/js')
.sass(path_sass + 'style.sass', 'public/css')
.sass(path_sass + 'admin.sass', 'public/css');
// .sass(path_sass + 'home.sass', 'public/css')
// .sass(path_sass + 'blog.sass', 'public/css')
// .sass(path_sass + 'contato.sass', 'public/css')
// .sass(path_sass + 'ouvidoria.sass', 'public/css')
// .sass(path_sass + 'post.sass', 'public/css')
// .sass(path_sass + 'quemsomos.sass', 'public/css')
// .sass(path_sass + 'servicos.sass', 'public/css')
// .sass(path_sass + 'solucoes.sass', 'public/css')
// .sass(path_sass + 'trabalheconosco.sass', 'public/css');