ZY

Results 14 comments of ZY

@galambalazs You are right. Really looking forward to your improvement. Is there any simple configuration to change focus more quickly and smoothly ?

对于这一句 "缓存会连同控制器一起被 Ng Service 持有(闭包的缘故)”,在 service 缓存数据跟 controller 有啥关系?service里面缓存草稿数据,controller去service取数据,这个过程为啥会内存泄露?在前端内存保存草稿用处不是很明显,最好保存到 storage 或者 存到后台。

@jampy >Today I added added a large subtree to my application (duplicated a subdirectory to use it as a basis for something new). This subtree got it's own Webpack "chunk",...

感谢 PR, 我认为不应该去掉 node_module 的相关路径,假设你的源码依赖 node_module 中的某个包,这个包后续升级或者改变路径都会影响你的「源码」,这个场景下,我认为不应该去掉 node_module 的相关路径。 你觉得呢? EN: Thx ur PR I dont think there should remove path about 'node_module' since that, suppose your biz source codes...

I use jquery in my project and only use `expose-loader` is enough for me.

@naphystart Show me a github demo?I may help fix and PR.

@naphystart I am trying to read source codes in `webpack` and `expose-loader` to find out the reasons, can not fix your situation right now, so sorry. #4

@KyleAMathews @jampy Done. Sorry for procrastination.

# Experiment webpack config: ``` module: { loaders: [ { test: require.resolve('jquery'), loader: "expose?aa!expose?bb!expose?cc", }, ] }, plugins: [ // new webpack.ProvidePlugin({ // ... // }), new StableModuleIdAndHash(), ], ```...