-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgulpfile.js
More file actions
26 lines (22 loc) · 715 Bytes
/
Copy pathgulpfile.js
File metadata and controls
26 lines (22 loc) · 715 Bytes
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
// --------------------------------------------------------
// Copyright (c) 2015 by Greg Reimer <gregreimer@gmail.com>
// MIT License. See license.txt for more info.
/*
* This is the entry point for running gulp. However,
* since we want to write everything in es6, this file
* just invokes the babel require hook and then pulls
* in the rest of the gulp logic (and by extension, the
* rest of the server-side logic) through the babel
* transpiler.
*/
'use strict'
require('babel/register')({
ignore: false,
only: [
__dirname + '/node_modules/lib/**/*.js',
__dirname + '/node_modules/lib/*.js',
__dirname + '/gulpfile-es6.js',
__dirname + '/app.js',
]
})
require('./gulpfile-es6')