-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.js
More file actions
38 lines (30 loc) · 824 Bytes
/
build.js
File metadata and controls
38 lines (30 loc) · 824 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
27
28
29
30
31
32
33
34
35
36
37
38
var path = require("path");
exports.config = {
// Base directory for the application
"base": __dirname,
"baseUrl": "/gitrap/",
// Application name
"name": "Gitrap",
// Mode debug
"debug": true,
// Main entry point for application
"main": "main",
// Build output directory
"build": path.resolve(__dirname, "build"),
// Static files mappage
"static": {
"templates": path.resolve(__dirname, "resources", "templates"),
"images": path.resolve(__dirname, "resources", "images")
},
// Stylesheet entry point
"style": path.resolve(__dirname, "stylesheets/main.less"),
// Shim
"shim": {
"vendors/base64": {
exports: "Base64"
},
"vendors/markdown": {
exports: "markdown"
}
},
};