1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00
pixelfed/webpack.mix.js

40 lines
1.1 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-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
// MicroUI component
.js('resources/assets/js/micro.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-02-03 21:53:13 +00:00
.version();