profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/sorrycc/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
chencheng (云谦) sorrycc Alipay HangZhou https://sorrycc.com/ Front-end developer at alipay, creator of @umijs, @dvajs, father, roadhog, babel-plugin-import...

sorrycc/awesome-javascript 25508

🐢 A collection of awesome browser-side JavaScript libraries, resources and shiny things.

dvajs/dva 15787

🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)

oldj/SwitchHosts 14520

Switch hosts quickly!

sorrycc/awesome-f2e-libs 1432

🎉 整理我平时关注的前端库。

sorrycc/awesome-tools 599

Awesome tools I used.

reactjs/zh-hans.reactjs.org 452

React documentation website in Simplified Chinese

macacajs/macaca-datahub 388

Continuous data provider for development, testing, staging and production. Just enjoy the data out-of-the-box.📦

macacajs/torchjs 41

Test framework to light up the world.

sorrycc/ae-html-to-react 37

一键转换 AE 编译出的 html 动画文件为 React 格式。

sorrycc/ama 29

Ask me anything!

push eventumijs/umi-next

sorrycc

commit sha 29963bd4c0b6122ad7bec4b8c7e3c1d4f822d258

chore: code style

view details

sorrycc

commit sha b7d08b158c7bdf739e9cb01480888075c5b3db01

feat: build support clean args

view details

push time in 6 hours

push eventumijs/umi-next

小虎oni

commit sha 1c0bda48c672b61eeda536ded51c595a49383f6a

feat: webpack copy (#118) * feat: webpack copy * chore: code style

view details

push time in 7 hours

PR merged umijs/umi-next

Reviewers
feat: webpack copy
+470 -2

0 comment

16 changed files

xiaohuoni

pr closed time in 7 hours

push eventumijs/umi-next

sorrycc

commit sha e2cb9993817b13919054ede432c213f33922b56c

fix: tsc

view details

push time in 7 hours

push eventumijs/umi-next

sorrycc

commit sha 78fb9e2c65079bf6f2cd009eb2d694840c09bb89

fix: tsc

view details

push time in 7 hours

push eventumijs/umi-next

sorrycc

commit sha 1244e9d7eebac1035210b04d79bbeb3ad0544eb2

chore: fix package endless loop

view details

push time in 7 hours

push eventumijs/umi-next

sorrycc

commit sha 0e134d800d4a8c88b7c32a9614d608bc376d87f7

feat: mfsu assets static path prefix

view details

push time in 10 hours

push eventumijs/umi-next

sorrycc

commit sha b819086c3df533a8dd8fbe16820ad06dca8e7877

feat: mfsu hold request when is building

view details

push time in 11 hours

push eventumijs/umi-next

sorrycc

commit sha 46b5fa66c77dbf5a8b7dbb361c5534270b392b2c

feat: integrate mfsu to bundler-webpack

view details

push time in 11 hours

push eventumijs/umi-next

sorrycc

commit sha 2a8846ea558d5fd65dd2eaddeee1f9d7d7b6cbfb

chore: example with react 18

view details

push time in 13 hours

push eventumijs/umi-next

sorrycc

commit sha e30dfdc8cbaf860379fb38b93c9efb522073a8d7

chore: add bundler-webpack-demo example

view details

push time in 13 hours

push eventumijs/umi-next

sorrycc

commit sha 3afcb3e0f34bf31b440d0836f91735e73c7e72ad

feat: mfsu don't dependents on webpack

view details

push time in 14 hours

startedsharkdp/hyperfine

started time in 14 hours

push eventumijs/umi-next

sorrycc

commit sha e430680c15a317a1a4c4af49f4e967d7e87f7fae

feat: mfsu dep and dep builder

view details

push time in 15 hours

startedbryanbraun/checkboxland

started time in 17 hours

startedTheoBr/t3-astro

started time in 18 hours

startedrevoltchat/revite

started time in 18 hours

push eventumijs/umi-next

sorrycc

commit sha 78bdde05f55bcdc15c80a65adeee0e3b43b97d64

feat: mfsu moduleGraph, depInfo, babel plugins, webpack plugins

view details

push time in a day

PullRequestReviewEvent

Pull request review commentumijs/umi-next

feat: webpack copy

 for (const fixture of readdirSync(fixtures)) {       }       return memo;     }, {});+    console.log(fixture)

删下,另外没走 prettier?

xiaohuoni

comment created time in 2 days

PullRequestReviewEvent

Pull request review commentumijs/umi-next

feat: webpack copy

+/* global __resourceQuery */

为啥会有这两个 lazy-compilation 文件,记得是 webpack 里的。

xiaohuoni

comment created time in 2 days

Pull request review commentumijs/umi-next

feat: webpack copy

 export async function getConfig(opts: IOpts): Promise<Configuration> {   await addDefinePlugin(applyOpts);   // progress   await addProgressPlugin(applyOpts);-  // TODO: copy+  // copy+  await applyCopyPlugin(applyOpts);

applyCopyPlugin > addCopyPlugin

xiaohuoni

comment created time in 2 days

Pull request review commentumijs/umi-next

feat: webpack copy

+import Config from '@umijs/bundler-webpack/compiled/webpack-5-chain';+// @ts-ignore+import CopyPlugin from '@umijs/bundler-webpack/compiled/copy-webpack-plugin';++import { existsSync } from 'fs';+import { join } from 'path';+import { DEFAULT_OUTPUT_PATH } from '../constants';+import { Env, IConfig } from '../types';++interface IOpts {+  config: Config;+  userConfig: IConfig;+  cwd: string;+  env: Env;+}++export async function applyCopyPlugin(opts: IOpts) {+  const { config, userConfig, cwd } = opts;+  const absOutputPath = join(+    cwd,+    userConfig.outputPath || DEFAULT_OUTPUT_PATH,+  );+  const copyPatterns = [+    existsSync(join(cwd, 'public')) && {+      from: join(cwd, 'public'),+      to: absOutputPath,+    },+    ...(userConfig.copy+      ? userConfig.copy.map((item) => {+        if (typeof item === 'string') {+          return {+            from: join(cwd, item),+            to: absOutputPath,
  1. copy 一定要带 to 属性吗?要的话也应该读 config.output.path
  2. to 感觉更应该是相对路径
xiaohuoni

comment created time in 2 days

startedantfu/unplugin-icons

started time in 3 days

push eventumijs/umi-next

sorrycc

commit sha f529861f6f9a3665aa533ace300ae07745e36403

chore: update dts-packer

view details

push time in 3 days

push eventumijs/umi-next

sorrycc

commit sha f6352043b828009287a85d9732c376c0dc6bc99f

chore: testcase for mfsu babel plugin

view details

push time in 3 days

push eventumijs/umi-next

sorrycc

commit sha 867e0c196296efbbdb95203cca35db2fa639808b

feat: mfsu boilerplate and babel plugin

view details

push time in 4 days

startedngryman/cz-emoji

started time in 4 days