-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.mix.js
19 lines (17 loc) · 954 Bytes
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const 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.
|
*/
mix.js('resources/js/templates/admin/app.js', 'public/templates/admin/js')
.sass('resources/sass/templates/admin/style.scss', 'public/templates/admin/css')
.copy('resources/sass/templates/admin/plugins/bootstrap-editable/bootstrap-editable.css', 'public/templates/admin/css')
.js('resources/js/templates/admin/plugins/bootstrap-editable/bootstrap-editable.js', 'public/templates/admin/js')
.version()
.copyDirectory('resources/sass/templates/admin/images', 'public/templates/admin/images');