Open pxim opened 2 years ago
same question here
I'm experiencing this also. I've found that setting the production browserlist to be the same as development fixed this for me.
"browserslist": {
"production": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
I'm experiencing this also. I've found that setting the production browserlist to be the same as development fixed this for me.
"browserslist": { "production": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] },
I tried it, don't works for me! @jaminmelville
I just created the code framework with this command today .
In development mode, my code, page performance is OK . Average 50 FPS . There are only a few requestAnimationFrame warnings
But after Build, the page performance degradation, only about 15fps, and the error
[Violation] 'requestAnimationFrame' handler 用时 <N> 毫秒
is not stopped.normal , dev :
error , build :
http://zyzx.jingge.com:45231/releases/%E7%BA%AF%E7%94%B5%E5%8A%A8%E6%B1%BD%E8%BD%A6%E4%BA%A4%E6%B5%81%E5%85%85%E7%94%B5%E7%B3%BB%E7%BB%9F3D%E7%BB%93%E6%9E%84%E5%B1%95%E7%A4%BA/index.html
package.json
------------------------2021-12-02--------------------------------------------------------------------- It feels like a compression plugin problem https://github.com/umijs/umi/issues/7644