-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.js
41 lines (32 loc) · 854 Bytes
/
build.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
var path = require("path");
exports.config = {
// Base directory
"base": __dirname,
// Base url for the application
"baseUrl": "/",
// Application name
"name": "Doks.io",
// Mode debug
"debug": false,
// Main entry file
"main": "application",
// Build directory
"build": path.resolve(__dirname, "build"),
// Static files
"static": {
"templates": path.resolve(__dirname, "resources", "templates"),
"i18n": path.resolve(__dirname, "resources", "i18n"),
"images": path.resolve(__dirname, "resources", "images"),
},
// Stylesheets
"style": path.resolve(__dirname, "stylesheets/main.less"),
// Modules paths
"paths": {
"highlight": "vendors/highlight"
},
"shim": {
"highlight": {
exports: "hljs"
}
}
};