-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (37 loc) · 945 Bytes
/
build.gradle
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
plugins {
id 'groovy'
id "com.bertramlabs.asset-pipeline" version "3.4.4"
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
assets "com.bertramlabs.plugins:asset-pipeline-core:$assets_pipeline"
assets "com.bertramlabs.plugins:jsx-asset-pipeline:$assets_pipeline"
assets "com.bertramlabs.plugins:typescript-asset-pipeline:$assets_pipeline"
assets("com.bertramlabs.plugins:groocss-asset-pipeline:$assets_pipeline")
}
assets {
minifyJs = true
minifyCss = true
enableSourceMaps = true
maxThreads = 8
configOptions = [
commonJs: true,
enableES6: false,
groocss: [
prettyPrint: false,
compress: true,
noExts: false,
convertUnderline: false
]
]
excludes = [
'components/*',
'react*.js',
'layout/*',
'custom/*.css',
'*.groocss',
]
}