前端代码
This commit is contained in:
31
node_modules/browser-sync/dist/config.js
generated
vendored
Normal file
31
node_modules/browser-sync/dist/config.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
"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.html"),
|
||||
scriptTagSimple: path.join(__dirname, "..", "templates/script-tags-simple.html"),
|
||||
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
|
Reference in New Issue
Block a user