Innei

Results 270 comments of Innei

+1 next version: `12.0.1`, next-pwa version `5.4.0`, and generate static asset path like: ``` e.precacheAndRoute( [ { url: '//_next//static/media/Kico.4be5117a.jpg', revision: 'zYWMRnt-yQI4_uX-k41yf', }, { url: '//_next//static/media/default-avatar.bfdcee03.png', revision: 'zYWMRnt-yQI4_uX-k41yf', }, { url:...

8 行 ```js function randarr(arr) { let rand = parseInt((Math.random()*30+2).toFixed(0)) if (arr.length === 5) { console.log(arr);return } arr.indexOf(rand) === -1 ? arr.push(rand) && randarr(arr) : randarr(arr) } let arr =...

@cxyb I found a way, copy util polyfill as file `util.js` in `polyfills` folder, and link it as a package in `package.json`, like below. ``` "dependencies": { "util": "./polyfills/util.js" //...

已经是个死循环了,cpu 停不下来。只能手动停止

因为 pnpm 这类包管理器有软连接,即便是一层子仓库也可能会无线套娃。

I also run into this problem, how to solve every cluster node run cron task in same time.

I only used scss and css, and is there a way to use it in scss?

> > I only used scss and css, and is there a way to use it in scss? > > I'm not sure but you can try it > >...