whale2002

Results 11 comments of whale2002

> maybe you should add loader-utils as dependencies? so it works with pnpm It seems that Webpack V5 has method `this.getOptions()` to get options, and if we want to get...

> 我选择尽量不使用状态管理器 能说下理由吗,愿闻其详

> ```js > String.prototype.render = function (data) { > return this.replace(/{{[.\s\S]*?}}/g, match => { > if ((match = match.substring(2, match.length - 2).trim()) == "") { > return ""; > }...

> ```js Promise.retry = function (promiseFunc, num = 1) { return promiseFunc().then((res) => { return res }, (err) => { if (num > 0) { num--; return Promise.retry(promiseFunc, num); }...

It has been resolved. https://github.com/BuilderIO/qwik/pull/4153

可以搞一个群

I tried using version 0.50.0 and finally solved the problem. First, 0.52.0 -> 0.50.0 Second, import worker file from cdn like unpkg ```js export const ensureMonacoEnvironment = () => {...

> > > 我尝试降级到 0.50.0 并且解决了问题。 > > > > > > 谢谢,但是我收到一个新的错误提示: ![Image](https://github.com/user-attachments/assets/2ec37de6-f505-420e-bd91-a963a49357df) > > 解决了吗 解决了看我下面的评论