-
Notifications
You must be signed in to change notification settings - Fork 1
/
webpack.mix.js
29 lines (27 loc) · 1.14 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
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.
|
*/
mix.sass('resources/assets/sass/gottashit.scss', 'public/css/gottashit.css')
.scripts([
'resources/assets/js/jquery.min.js',
'resources/assets/js/analytics.js',
'resources/assets/js/nearest.js',
'resources/assets/js/hover.js',
'resources/assets/js/place_experience.js',
'resources/assets/js/menu_experience.js',
'resources/assets/js/rate.js',
'resources/assets/js/helpers.js'
], 'public/js/gottashit.js')
.scripts(['resources/assets/js/place_field.js'], 'public/js/gottashit_place_field.js')
.scripts(['resources/assets/js/place.js'], 'public/js/gottashit_place.js')
.js('resources/assets/js/app.js', 'public/js/app.js')
.sourceMaps()
.version();