rdshoep

Results 5 comments of rdshoep

实例化两个`ExtractTextPlugin`,生成两个资源文件,一个是common,一个自定义的内容,调整先后顺序 例如: webpack.config.js ```js const commonExtractCss = new ExtractTextPlugin('common.css') , projectExtractCss = new ExtractTextPlugin('app.css') //... rules: [ { test: /\.less$/, include: [path.resolve(__dirname, './src')], use: projectExtractCss.extract([...]) }, { test: /\.less$/, exclude:...

I think this PR can resolve the problem: mount app use signed cookies will catch error. ps: 1. [mounted app.keys ignored](https://github.com/koajs/mount/issues/29) 2. [https://github.com/koajs/koa/issues/203](https://github.com/koajs/koa/issues/203#issuecomment-47097294)

I have forked the repo, and use preserve instead of preserveContext. [https://github.com/smartmiting/koa-mount/tree/preserve](https://github.com/smartmiting/koa-mount/tree/preserve) It supports: 1. preserved context 2. preserved app props(subdomainOffset, keys for cookies) If you agree, I will make...

@jonathanong Hi, I think @nervgh 's idea is right, because the try/catch behavior has been handled in the [koa-compose/index.js#L41](https://github.com/koajs/compose/blob/master/index.js#L41)

好的,我现在的场景是小程序是一个独立的Module,可以直接复用WeChatService,利用cacheAdapter实现自动缓存。 如果存在多个公众号、多个小程序时,不好直接使用,需要再包装一个服务或者方法,内部处理好accessToken的更新。 目前的cacheAdapter支持该设计,可以考虑提供一套通用方法,降低使用成本。后面我有时间可以尝试贡献一下~