UNPKG

@edwardxyt/gws-cli

Version:

这是一个web脚手架工具,用于生成基于webpack5,生成typescript+react17+mobx5+reactRouter6的应用。初衷是要解决多入口,多环境。单独编译单独运行的脚手架。做到小而美。拒绝锦上添花。

67 lines (66 loc) 2.07 kB
module.exports = { news: { git: { library: ["antd-mobile"], mobile: true, externals: {}, 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: { library: ["antd"], mobile: false, externals: {}, 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: "/static/website2018/news/demo/" } } } } };