mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
When using arrow functions, parentheses are recommended if the function takes a single argument and uses curly braces. See section 8.4 of Airbnb's JavaScript style guide, one of the most popular.
20 lines
560 B
JavaScript
20 lines
560 B
JavaScript
const elixir = require('laravel-elixir');
|
|
|
|
require('laravel-elixir-vue-2');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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 your application as well as publishing vendor resources.
|
|
|
|
|
*/
|
|
|
|
elixir((mix) => {
|
|
mix.sass('app.scss')
|
|
.webpack('app.js');
|
|
});
|