1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00
pixelfed/webpack.mix.js

50 lines
1.4 KiB
JavaScript
Raw Normal View History

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')
// 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-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')
})
.sass('resources/assets/sass/landing.scss', 'public/css', {
implementation: require('node-sass')
})
2019-02-03 21:53:13 +00:00
.version();