mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
33 lines
975 B
JavaScript
33 lines
975 B
JavaScript
var elixir = require('laravel-elixir');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Elixir Asset Management
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
|
|
| for your Laravel application. By default, we are compiling the Sass
|
|
| file for our application, as well as publishing vendor resources.
|
|
|
|
|
*/
|
|
|
|
elixir(function(mix) {
|
|
mix.sass('app.scss')
|
|
.publish(
|
|
'jquery/dist/jquery.min.js',
|
|
'public/js/vendor/jquery.js'
|
|
)
|
|
.publish(
|
|
'bootstrap-sass-official/assets/javascripts/bootstrap.js',
|
|
'public/js/vendor/bootstrap.js'
|
|
)
|
|
.publish(
|
|
'font-awesome/css/font-awesome.min.css',
|
|
'public/css/vendor/font-awesome.css'
|
|
)
|
|
.publish(
|
|
'font-awesome/fonts',
|
|
'public/css/fonts'
|
|
);
|
|
});
|