work.suroh.tk/node_modules/browser-sync-ui/lib/transforms.js

11 lines
224 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
module.exports = {
"mode": function (obj) {
if (obj.get("server")) {
return "Server";
}
if (obj.get("proxy")) {
return "Proxy";
}
return "Snippet";
}
};