Commit Graph

16 Commits

Author SHA1 Message Date
No name 71c4edad63
chore: improve build file naming convention and caching (#3908)
* fix: improve build file naming convention

* remove js to the entryFileName path

* replace dot to hyphen
2024-06-14 15:26:49 +08:00
xachary a6086f4cc8
chore(build): keep same hash for the same files (#3878)
* fix: state mutations in computed getters should be avoided

* fix: type about getDataSourceRef

* chore(build): keep same hash for the same files
2024-05-31 09:54:41 +08:00
胤玄 dcbe5510d4
fix: Docker 打包逻辑改进,彻底解决缓存问题 (#3473)
* feat: update nginx.conf 使用固定编译入口可能导致浏览器使用缓存js文件,而此配置可以解决

* feat: 更新docker打包逻辑: 原本固定的entry是为了方便替换环境变量,同时在nginx配置内让每次获取js等资源都不走缓存。这样的问题是首次打开会很慢。
因此本次使用的解决方案,回归vben原本的hash+timestamp的入口文件名,但是在环境变量替换的时候使用模糊匹配。
大家有类似需要可以参考环境变量的方式做 单镜像打包多环境的适配。
2023-12-27 14:28:37 +08:00
xingyu 4d2fb0cb6f
refactor: '/@/' ==> '@/' and '/#/ '==> '#/' (#3329)
* refactor: /@/ ==> @/

* chore: '/@/' ==> '@/' and '/#/ '==> '#/'

* fix: lint:prettier
2023-11-24 10:32:04 +08:00
xingyu 7191ebc122
chore: 更新 unocss 版本及配置 (#3326)
* chore: 升级 unocss 版本 添加 unocss.config.ts 配置文件

* chore: 更新 unocss 插件
2023-11-23 17:40:49 +08:00
k1ngbanana a244dcd261
fix: 配置文件公共路径无效 (#3007) 2023-09-08 22:10:19 +08:00
scottMan1001 a2a78f40da
Feat/scott man (#2970)
* feat: esbuild增加不同开发模式下对cnosole debugger的处理

* fix: fix production spelling
2023-08-16 21:35:21 +08:00
scottMan1001 4e3e721650
feat: esbuild增加不同开发模式下对cnosole debugger的处理 (#2907) 2023-07-11 11:52:54 +08:00
胤玄 c659c14c5a
Docker dynamic publish support. (#2903)
* feat: Docker support, including dynamic publish

* fix:  run container command
2023-07-06 13:55:41 +08:00
jinmao88 ca997c15ca fix: 默认不清除ts内console.log() 2023-06-17 08:45:58 +08:00
vben 6890dd7201 perf: 新包使用更严格的eslint 2023-04-06 23:28:37 +08:00
vben feadf64ee3 fix: Icon加载问题 2023-04-06 22:47:39 +08:00
vben 279977b817 feat: 逐步抽离部分包到packages 2023-04-05 22:29:16 +08:00
vben d25df8321e chore: windcss -> unocss 2023-04-05 18:17:55 +08:00
vben aedb8e53aa perf: 优化env字段 2023-04-05 15:58:03 +08:00
vben 5e99463cd0 perf: Refactor vite configuration 2023-04-05 00:20:48 +08:00