2018-04-15 23:56:48 +00:00
|
|
|
let mix = require('laravel-mix');
|
|
|
|
|
|
|
|
/*
|
2019-02-03 21:53:13 +00:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
|
*/
|
2018-04-15 23:56:48 +00:00
|
|
|
|
|
|
|
mix.js('resources/assets/js/app.js', 'public/js')
|
2019-02-03 21:53:13 +00:00
|
|
|
.js('resources/assets/js/activity.js', 'public/js')
|
|
|
|
.js('resources/assets/js/components.js', 'public/js')
|
2019-03-16 08:46:46 +00:00
|
|
|
//.js('resources/assets/js/embed.js', 'public')
|
2019-02-11 05:40:22 +00:00
|
|
|
|
|
|
|
// Discover component
|
|
|
|
.js('resources/assets/js/discover.js', 'public/js')
|
|
|
|
|
|
|
|
// Profile component
|
|
|
|
.js('resources/assets/js/profile.js', 'public/js')
|
|
|
|
|
|
|
|
// Status component
|
|
|
|
.js('resources/assets/js/status.js', 'public/js')
|
|
|
|
|
|
|
|
// Timeline component
|
2019-02-03 21:53:13 +00:00
|
|
|
.js('resources/assets/js/timeline.js', 'public/js')
|
2019-02-11 05:40:22 +00:00
|
|
|
|
2019-03-26 04:22:25 +00:00
|
|
|
// ComposeModal component
|
|
|
|
.js('resources/assets/js/compose.js', 'public/js')
|
|
|
|
|
2019-04-02 05:46:59 +00:00
|
|
|
// SearchResults component
|
|
|
|
.js('resources/assets/js/search.js', 'public/js')
|
|
|
|
|
2019-04-07 18:15:36 +00:00
|
|
|
// Developer Components
|
|
|
|
.js('resources/assets/js/developers.js', 'public/js')
|
|
|
|
|
2019-05-27 19:57:20 +00:00
|
|
|
// // Direct Component
|
|
|
|
// .js('resources/assets/js/direct.js', 'public/js')
|
|
|
|
|
|
|
|
// Loops Component
|
|
|
|
.js('resources/assets/js/loops.js', 'public/js')
|
|
|
|
|
2019-02-03 21:53:13 +00:00
|
|
|
.sass('resources/assets/sass/app.scss', 'public/css', {
|
|
|
|
implementation: require('node-sass')
|
|
|
|
})
|
2019-02-11 05:40:22 +00:00
|
|
|
.sass('resources/assets/sass/appdark.scss', 'public/css', {
|
|
|
|
implementation: require('node-sass')
|
|
|
|
})
|
2019-04-03 04:06:22 +00:00
|
|
|
.sass('resources/assets/sass/landing.scss', 'public/css', {
|
|
|
|
implementation: require('node-sass')
|
|
|
|
})
|
2019-02-03 21:53:13 +00:00
|
|
|
.version();
|