Skip to content

Commit 6cbadf7

Browse files
committed
Remove media library configuration
1 parent fd115c3 commit 6cbadf7

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

webpack.mix.js

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
const mix = require('laravel-mix');
2-
const path = require('path');
1+
const mix = require('laravel-mix')
2+
const path = require('path')
33

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()
165

176
mix.js('resources/js/app.js', 'public/js').react()
187
.postCss('resources/css/app.css', 'public/css')
@@ -28,13 +17,9 @@ mix.js('resources/js/app.js', 'public/js').react()
2817
"react": "preact/compat",
2918
"react-dom": "preact/compat"
3019
},
31-
modules: [
32-
'node_modules',
33-
__dirname + '/vendor/spatie/laravel-medialibrary-pro/resources/js',
34-
]
3520
}
36-
});
21+
})
3722

3823
if (mix.inProduction()) {
39-
mix.version();
24+
mix.version()
4025
}

0 commit comments

Comments
 (0)