Vision_X

Results 14 comments of Vision_X

这里的人说话太好听了吧,超喜欢这里的[玫瑰]

> 使用 vue-cli 创建 alpha 分支已支持,使用中发现问题请反馈。 > > ``` > npm install -g @vue/cli@5 > vue create -p dcloudio/uni-preset-vue#alpha test > ``` > > 已知问题: > > * 遗留部分警告未处理。 >...

> 文档是否可以更新一下呢? > > > > > > 我认为目前还没有到能正式使用的阶段,@vue/cli的相关uni插件也要同步更新,但是它仅处于alpha阶段,需要大量的验证和测试, 我初步进行了使用,可惜迁移并不太顺利。

btw,development开启了UNI_USING_CACHE以后,再次启动编译从26s,减少到了7s,还在进一步观察是否有缓存所带来的相关问题。但它确实会提供值得一试的优化效果

> first of all we need to solve memory leak issue with [module graph](https://github.com/webpack/webpack/blob/main/lib/ModuleGraph.js#L849).. otherwise all modules will be in this `WeakMap` until `compiler. _cleanupLastCompilation` will not be called.. the...

You are right. but I am more curious about the compatibility considerations of webpack5 for such situations. I also dislike such non-standard libs. (btw v2.3.1 is still in beta 😂,...

@alexander-akait @vankop Thanks for your patience!🌈 just closed this issue. I think ` noParse` is enough for such weird libraries. I also found [docs about runtime optimization in release blog](https://webpack.js.org/blog/2020-10-10-webpack-5-release/#runtime-modules),...

> 去掉空格,匹配可能会有误伤,比如url里的参数。所以当时加了空格,是比较简单有效的匹配方法。 楼主可看看有无更合适的匹配方法,否则还是使用空格最稳妥。 @Maizify 匹配误伤的具体示例是什么。如果保持和原生行为一致,我认为不会有什么问题 ![image](https://user-images.githubusercontent.com/40595135/187610847-f93bed23-974d-4312-8c1a-605615b99467.png)

https://github.com/webpack/webpack/issues/16126#issuecomment-1210745947

https://github.com/webpack/webpack/issues/16126#issuecomment-1210745947