Commit Graph

8 Commits

Author SHA1 Message Date
染陌同学 c72c7d3b08
feat: support PHA static dataloader to manifest (#5685)
* feat: get dataloader config from pages

* feat: Set static dataloader to data_prefetch of manifest

* feat: set static dataloader to data_prefetch of frames

* chore: dealwith lint

* feat: support loaderConfig in middleware

* feat: add getLoadersConfig in index

* chore: modify title

* test: add test for static dataloader of pha

* feat: merge loaders and dataloaderCOnfig

* feat: modify name

* chore: deal with ts

* feat: modify loaders

* feat: modify getDataloaderConfig

* feat: modify loadersconfig

* chore: modify changelog and versiion

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-12-14 19:41:51 -08:00
水澜 114373633f feat: build routes config for document render (#552)
* feat: render document by routes config

* test: downgrade to csr

* chore: rename

* refactor: load route modules after only in ssr

* fix: pha test

* fix: compat with no routes config

* fix: ensure routes config before build

* fix: test case

* fix: test timeout

* fix: cache in test case

* refactor: check routes config before server compiler

* refactor: allways generate routes config

* chore: remove dead code

* fix: reset status when init config
2022-11-15 10:32:43 +08:00
ClarkXia 7d6c987b21 feat: pha (#337)
* feat: scaffold of pha plugin

* feat: scaffold of plugin pha

* feat: pha

* feat: manifest type

* feat: add types

* feat: add test case

* fix: optimize code and test case

* feat: add example of pha

* chore: remove yml file

* chore: bump dependencies version

* feat: pha plugin

* test: add test case

* chore: update lock file

* chore: update lock file

* chore: rename option

* fix: get multipile manifest

* chore: optimize code

* fix: add url prefix

* feat: compile appConfig for start command

* feat: optimize code

* chore: optimize document

* fix: add customDataSource

* feat: remove top level code

* fix: remove code

* fix: optimize code

* fix: optimize code

* fix: plugin

* fix: plugin order

* fix: pha

* feat: add test case

* fix: files

* fix: lint

* fix: url public for dev

* fix: jsx transform in build

* fix: fallback value

* fix: basename

* fix: minify code

* fix: basename

* fix: basename

* chore: remove log

* fix: generate pha manifest

* fix: path for page item

* fix: route id

* chore: optimize test case

* fix: default basename

* fix: split chart

* fix: regex for url

* fix: default basename

* feat: support full path

* fix: default value of url

* chore: optimize code

* chore: comments

* fix: remove exports

* chore: readme
2022-11-14 19:51:45 +08:00
ClarkXia 7bd95ad70d Revert "feat: plugin for PHA" (#336) 2022-11-14 19:51:16 +08:00
ClarkXia 3e62eddfa0 chore: optimize test case 2022-11-14 19:48:42 +08:00
ClarkXia 57d4b714b0 fix: get multipile manifest 2022-11-14 19:43:16 +08:00
ClarkXia 46eff48ff0 fix: optimize code and test case 2022-11-14 19:23:58 +08:00
ClarkXia c6f7474762 feat: add test case 2022-11-14 19:23:26 +08:00