-
Notifications
You must be signed in to change notification settings - Fork 1
/
webpack.mix.js
69 lines (62 loc) · 2.38 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
const mix = require('laravel-mix');
const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin')
module.exports = {
plugins: [
new VuetifyLoaderPlugin()
]
};
mix.webpackConfig({
resolve: {
extensions: ['.js', '.vue'],
alias: {
'@': __dirname + '/resources/js'
}
},
plugins: [
new VuetifyLoaderPlugin(),
]
});
/*
|--------------------------------------------------------------------------
| 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/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.version();
mix.styles([
'resources/institucional/css/open-iconic-bootstrap.min.css',
'resources/institucional/css/animate.css',
'resources/institucional/css/owl.carousel.min.css',
'resources/institucional/css/owl.theme.default.min.css',
'resources/institucional/css/magnific-popup.css',
'resources/institucional/css/aos.css',
'resources/institucional/css/ionicons.min.css',
'resources/institucional/css/bootstrap-datepicker.css',
'resources/institucional/css/jquery.timepicker.css',
'resources/institucional/css/flaticon.css',
'resources/institucional/css/font-awesome.css',
'resources/institucional/css/icomoon.css',
'resources/institucional/css/style.css'
], 'public/css/institucional.css');
mix.scripts([
'resources/institucional/js/jquery.min.js',
'resources/institucional/js/jquery-migrate-3.0.1.min.js',
'resources/institucional/js/popper.min.js',
'resources/institucional/js/bootstrap.min.js',
'resources/institucional/js/jquery.easing.1.3.js',
'resources/institucional/js/jquery.waypoints.min.js',
'resources/institucional/js/jquery.stellar.min.js',
'resources/institucional/js/owl.carousel.min.js',
'resources/institucional/js/jquery.magnific-popup.min.js',
'resources/institucional/js/aos.js',
'resources/institucional/js/jquery.animateNumber.min.js',
'resources/institucional/js/bootstrap-datepicker.js',
'resources/institucional/js/scrollax.min.js',
'resources/institucional/js/main.js'
], 'public/js/institucional.js');