File tree Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 1
- const mix = require ( 'laravel-mix' ) ;
2
- const path = require ( 'path' ) ;
1
+ const mix = require ( 'laravel-mix' )
2
+ const path = require ( 'path' )
3
3
4
- /*
5
- |--------------------------------------------------------------------------
6
- | Mix Asset Management
7
- |--------------------------------------------------------------------------
8
- |
9
- | Mix provides a clean, fluent API for defining some Webpack build steps
10
- | for your Laravel applications. By default, we are compiling the CSS
11
- | file for the application as well as bundling up all the JS files.
12
- |
13
- */
14
-
15
- mix . disableNotifications ( ) ;
4
+ mix . disableNotifications ( )
16
5
17
6
mix . js ( 'resources/js/app.js' , 'public/js' ) . react ( )
18
7
. postCss ( 'resources/css/app.css' , 'public/css' )
@@ -28,13 +17,9 @@ mix.js('resources/js/app.js', 'public/js').react()
28
17
"react" : "preact/compat" ,
29
18
"react-dom" : "preact/compat"
30
19
} ,
31
- modules : [
32
- 'node_modules' ,
33
- __dirname + '/vendor/spatie/laravel-medialibrary-pro/resources/js' ,
34
- ]
35
20
}
36
- } ) ;
21
+ } )
37
22
38
23
if ( mix . inProduction ( ) ) {
39
- mix . version ( ) ;
24
+ mix . version ( )
40
25
}
You can’t perform that action at this time.
0 commit comments