forked from cw1997/laravel-Simplified-Chinese
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
28 lines (24 loc) · 935 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* translator:昌维 <[email protected]>
* repository:https://github.com/cw1997/laravel-Simplified-Chinese
* Translated as 2016-11-09 22:13:49
*/
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
| Elixir资源管理器
|--------------------------------------------------------------------------
|
| 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为您的Laraval应用提供了一个干净流畅的API来定义一些简单的Gulp任务
| 通常情况下,我们将会为你的应用像第三方发布资源一样的编译Sass文件
|
*/
elixir((mix) => {
mix.sass('app.scss')
.webpack('app.js');
});