沈鸿飞
沈鸿飞
去掉这个 `NODE_ENV: 'development',` 环境变量之后正常了 
@lucono I have submitted a pr to vsce for .cjs extension https://github.com/microsoft/vscode-vsce/pull/740
Create a file named `patches/@[email protected]` ```diff # support cjs entry `main: "./xxx.cjs"` in package.json # https://github.com/microsoft/vscode-vsce/pull/740 diff --git a/out/package.js b/out/package.js index 3711bf76db20fa2b351089a8c32ae8c437a9b7d9..f9da497b9925f24e4596a85cb41aa2cd2d43946e 100644 --- a/out/package.js +++ b/out/package.js @@ -693,7 +693,7...
有一个临时的方案,可以手动传 component='form' 参数,不走那个默认的 defaultProps 逻辑,这样可以正常渲染 ```tsx import { Form } from '@formily/antd-v5' ```
It looks like another msvc compiler issue. Can you @davidair report a new problem? (https://developercommunity.visualstudio.com/cpp/report)
```ts paths: { vs: `${location.origin}/vendors/monaco-editor/${ PRODUCTION ? 'min' : 'dev' }/vs` } ```
使用 webpack 编译打包出来的如下,没有 `compiler_runtime` 之类的东西 ```js const names = {}; function useFormWarning({ name }) { const warning = (0,_util_warning__WEBPACK_IMPORTED_MODULE_1__.devUseWarning)('Form'); react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { if (name) { names[name] = (names[name] || 0)...
Ok, I will wait and try that
@rustedgrail no, it's not fixed. ``` Uncaught Error: Cannot find module '@dagrejs/graphlib' at webpackEmptyContext (index.js:66:10) at index.js:88:29533 at index.js:88:25 at ./node_modules/.pnpm/@[email protected]/node_modules/@dagrejs/dagre/dist/dagre.esm.js (index.js:88:29699) at __webpack_require__ (index.js:113881:41) at ./src/lineage/index.tsx (index.js:100820:73) at __webpack_require__...