31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
"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
|