You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
6 years ago
|
"use strict";
|
||
|
var path = require("path");
|
||
|
/**
|
||
|
* @type {{controlPanel: {jsFile: string, baseDir: *}, socketIoScript: string, configFile: string, client: {shims: string}}}
|
||
|
*/
|
||
|
module.exports = {
|
||
|
controlPanel: {
|
||
|
jsFile: "/js/app.js",
|
||
|
baseDir: path.join(__dirname, "control-panel")
|
||
|
},
|
||
|
templates: {
|
||
|
scriptTag: path.join(__dirname, "..", "templates/script-tags.tmpl"),
|
||
|
scriptTagSimple: path.join(__dirname, "..", "templates/script-tags-simple.tmpl"),
|
||
|
connector: path.join(__dirname, "..", "templates/connector.tmpl")
|
||
|
},
|
||
|
socketIoScript: "/public/socket.io.min.1.6.0.js",
|
||
|
configFile: "default-config.js",
|
||
|
userFile: "bs-config.js",
|
||
|
template: path.join(__dirname, "..", "templates/cli-template.js"),
|
||
|
httpProtocol: {
|
||
|
path: "/__browser_sync__"
|
||
|
},
|
||
|
client: {
|
||
|
shims: "/client/client-shims.js"
|
||
|
},
|
||
|
errors: {
|
||
|
"server+proxy": "Invalid config. You cannot specify both server & proxy options.",
|
||
|
"proxy+https": "Invalid config. You set https: true, but your proxy target doesn't reflect this."
|
||
|
}
|
||
|
};
|
||
|
//# sourceMappingURL=config.js.map
|