Eric Chen

Results 84 comments of Eric Chen

@afc163 @zombieJ 此问题从 5.2.x 开始出现,代码的导出方式发生了变化,`es` 文件夹下的代码也全部失去了拓展名,使其无法像过去 5.1 通过 `esm` 模式引入,是一次严重的破坏性更新。 这使得原先不需要编译,通过 `nodejs 18+` 直接运行的代码(一般用在单元测试中)在新版无法执行。 只能暂时锁定在 5.1版本规避,受此影响项目的 `antd` 也不得不停留在 5.8.0。 由于涉及到打包逻辑,普通人的PR估计你们也不会接受,请求官方跟进这个问题。 相关问题:https://github.com/ant-design/ant-design-icons/issues/307 --- This problem started in 5.2.x, the code exports...

![image](https://github.com/ant-design/ant-design-icons/assets/12206891/a7eb98b0-e473-4da7-8595-79758cda6abf)

@afc163 After I tried hard to bypass the `lerna` nightmare (huge repo), I found out there is no way to bundle ESM files unless you don't use `father` as the...

相关问题:https://github.com/ant-design/cssinjs/issues/96 , https://github.com/ant-design/cssinjs/issues/92

临时解决方案: ```js const transformers = [ legacyLogicalPropertiesTransformer, { visit(cssObj) { for (const item of Object.values(cssObj)) { if (typeof item.value === 'string' && item.value === 'calc(50%-14px)') { item.value = item.value.split('-').join(' -...

翻遍 Taro 相关的文档,都没有提到这个方法,个人认为可以取代现有的路由库方案,但暂时没有精力整理成 RFC。如果这里不适合发这个,十分抱歉

@yusufzmly please review

Maybe this can help: ```ini # .npmrc shamefully-hoist = true shared-workspace-lockfile = false ``` It will make the dependencies tree the same as `workspace.nohoist` in `yarn@1`. But it create multiple...

`@eslint/css` seems to be no mention of plans for `scss/less`

Emoji fallback: ![image](https://github.com/prettier/prettier/assets/12206891/6db4bc02-d4e2-4229-89b0-35732b28b488)