nshen
|
a69167c0b7
|
🚀 v1.2.6
- fixed path error when set base in vite config
- fixed rebuildCesium option
- bump cesium to 1.85.0
- bump vite to 2.5.6
|
2021-09-11 13:43:58 +08:00 |
|
GuTianhuang
|
4e474e79d1
|
Update index.ts
Hello @nshen,我今天用这个插件的时候发现了一个问题:
当我在 vite.config.js 中修改 base 后,在 dev 环境下提示找不到 widgets.css,打包后使用 vite preview 查看发现 cesium 的静态资源全都报了 404。我发现引入资源的路径有问题,于是我尝试改了下源码,我又新建了一个 react 和 原生 js 的项目来测试,目前的修改是可用的。
|
2021-09-10 14:19:31 +08:00 |
|
LunaGod
|
d37276d411
|
fix: /cesium/ Invalid define value
|
2021-04-23 17:02:08 +08:00 |
|
nshen
|
a4c1530b7e
|
fix: remove script tag in dev mode
|
2021-03-23 11:55:34 +08:00 |
|
LunaGod
|
4f4fad3751
|
fix: replace option minifyCesium with devMinifyCesium
|
2021-03-22 19:53:43 +08:00 |
|
LunaGod
|
59f16a2419
|
fix: copy cesium.js when rebuildCesium is false
|
2021-03-22 17:03:04 +08:00 |
|
nshen
|
f3ab897128
|
feat: copy to outDir
|
2021-03-22 15:08:34 +08:00 |
|
LunaGod
|
0e7163bd63
|
style: code format
|
2021-03-22 10:26:22 +08:00 |
|
LunaGod
|
8a6b8b91ef
|
feat: use serve-static middleware support dev
|
2021-03-22 10:10:17 +08:00 |
|
Nshen
|
4ebdce73cd
|
📦 NEW: add rebuildCesium option
|
2021-03-08 18:33:13 +08:00 |
|
Nshen
|
932a390f81
|
fix path check
|
2021-03-08 18:33:13 +08:00 |
|
Nshen
|
de66caaa66
|
fix path when vite root change
|
2021-03-08 18:33:13 +08:00 |
|
Nshen
|
a66fce3668
|
init
|
2021-03-08 18:33:02 +08:00 |
|