-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.production.coffee
70 lines (62 loc) · 1.47 KB
/
app.production.coffee
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
RootsUtil = require 'roots-util'
js_pipeline = require 'js-pipeline'
css_pipeline = require 'css-pipeline'
dynamic_content = require 'dynamic-content'
browserify = require 'roots-browserify'
image_pipeline = require 'roots-image-pipeline'
statica = require 'statica'
autoprefixer = require 'autoprefixer'
module.exports =
ignores: [
'readme.md'
'**/layout.*'
'**/_*/*'
'**/_*/**/*'
'**/_*'
'.gitignore'
'**/drafts/**/*'
'ship.*conf'
]
browser:
open: false
# before: (roots) ->
# helpers = new RootsUtil.Helpers
# helpers.project.remove_folders(roots.config.output)
extensions: [
image_pipeline(
files: 'assets/img/**'
compress: true
resize: true
output_webp: true
)
js_pipeline(files: 'assets/js/**/*.{js,coffee}')
css_pipeline(files: 'assets/css/main.sass', postcss: true)
dynamic_content()
statica()
browserify(
files: 'assets/js/main.coffee'
out: 'js/main.js'
minify: false
sourceMap: true
)
]
scss:
sourcemap: true
minify: true
indentedSyntax: true
postcss:
use: [autoprefixer(browsers: ['last 3 versions'])]
'coffee-script':
sourcemap: true
jade:
pretty: true
basedir: '/Users/molovo/projects/philliphq/views'
filters:
marked:
gfm: true
tables: true
breaks: true
pedantic: false
sanitize: true
smartLists: true
smartypants: true