何从e何去

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2020年9月15日

摘要: 一:nginx服务器解决方案,修改 .conf 配置文件 有两种解决方案 1: location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html las 阅读全文
posted @ 2020-09-15 23:41 何从e何去 阅读(446) 评论(0) 推荐(0) 编辑

摘要: 提取第三方库,缓存,减少打包体积 1、 dll动态链接库, 使用DllPlugin DllReferencePlugin,将第三方库提取出来另外打包出来,然后动态引入html。可以提高打包速度和缓存第三方库这种方式打包可以见京东团队的gaea方案https://www.npmjs.com/packa 阅读全文
posted @ 2020-09-15 23:20 何从e何去 阅读(1261) 评论(0) 推荐(0) 编辑