@edwardxyt/gws-cli
Version:
这是一个web脚手架工具,用于生成基于webpack5,生成typescript+react17+mobx5+reactRouter6的应用。初衷是要解决多入口,多环境。单独编译单独运行的脚手架。做到小而美。拒绝锦上添花。
63 lines (62 loc) • 1.92 kB
JavaScript
module.exports = {
news: {
git: {
mobile: true,
env: {
mock: {
api_path: "",
console: false,
eslint: false,
cdn_path: "/"
},
development: {
api_path: "//bizdev.xiayuting.com",
console: false,
eslint: false,
cdn_path: "/devStatic/website2018/news/demo/"
},
test: {
api_path: "//bizapitest.xiayuting.com",
console: true,
eslint: false,
cdn_path: "/static/website2018/news/demo/"
},
production: {
api_path: "//biz.xiayuting.com",
console: false,
eslint: false,
cdn_path: "./"
}
}
},
demo: {
mobile: false,
env: {
mock: {
api_path: "",
console: false,
eslint: false,
cdn_path: "/"
},
development: {
api_path: "//bizdev.xiayuting.com",
console: false,
eslint: false,
cdn_path: "/devStatic/website2018/news/demo/"
},
test: {
api_path: "//bizapitest.xiayuting.com",
console: true,
eslint: false,
cdn_path: "./"
},
production: {
api_path: "//biz.xiayuting.com",
console: false,
eslint: false,
cdn_path: "./"
}
}
}
}
};