-
Notifications
You must be signed in to change notification settings - Fork 0
/
mimosa-config.coffee
68 lines (60 loc) · 1.39 KB
/
mimosa-config.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
exports.config =
# 0.14.12 is needed for optimization to work properly
minMimosaVersion:'0.14.12'
modules: [
'server'
'require'
'minify'
'live-reload'
'combine'
'requirebuild-include'
'requirebuild-textplugin-include'
'bower'
'lint'
]
watch:
javascriptDir: 'javascripts/app'
requireBuildTextPluginInclude:
pluginPath: 'text'
extensions: ['html']
requireBuildInclude:
folder:"javascripts"
patterns: ['app/**/*.js', 'vendor/durandal/**/*.js']
bower:
copy:
mainOverrides:
"knockout.js":["knockout.js","knockout-2.3.0.debug.js"]
"bootstrap": [
"docs/assets/js/bootstrap.js"
"docs/assets/css/bootstrap.css"
"docs/assets/css/bootstrap-responsive.css"
]
combine:
folders: [
{
folder:'stylesheets'
output:'stylesheets/styles.css'
order: [
'vendor/bootstrap/bootstrap.css'
'vendor/bootstrap/bootstrap-responsive.css'
'vendor/font-awesome.css'
'durandal.css'
'starterkit.css'
]
}
]
server:
defaultServer:
enabled: true
onePager: true
views:
compileWith: 'html'
extension: 'html'
require:
optimize:
overrides:
name: '../vendor/almond-custom'
inlineText: true
stubModules: ['text']
pragmas:
build: true