mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Added recommended parentheses
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.
This commit is contained in:
parent
d22b32f4e8
commit
3222e302eb
@ -13,7 +13,7 @@ require('laravel-elixir-vue-2');
|
||||
|
|
||||
*/
|
||||
|
||||
elixir(mix => {
|
||||
elixir((mix) => {
|
||||
mix.sass('app.scss')
|
||||
.webpack('app.js');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user