-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
28 lines (23 loc) · 922 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
// For all available options, see node_modules/pho-devstack/config.js
// These are development build settings, see gulpfile-production.js for production settings
var gulp = require('gulp');
var extend = require('node.extend');
var substituteConfig = require('./substitute-config');
var pho = require('pho-devstack')(gulp, {
src: {
styleMain: 'main.{scss,sass}',
styleFiles: '**/*.{scss,sass}'
},
imagemin: {
enabled: false
},
substituter: extend(true, substituteConfig, {
// cdn: '/', // uncomment if you are using absolute paths
livereload: function() {
return "<script>document.write('<script src=\"http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1\"></' + 'script>')</script>";
}
}),
copy: ['images/sprites/**/*', 'scripts/jquery-1.11.1.min.js', 'humans.txt']
});
// If needed, redefine tasks here
require('./sass-support')(pho);