Commit Graph

4 Commits

Author SHA1 Message Date
luhc228 1c3d3fec6c
feat: i18n plugin (#6149)
* feat: antd5 example with i18n

* feat: fusion example with i18n

* feat: init plugin-i18n

* feat: init i18n example

* chore: lock

* feat: add language selector

* feat: i18n route

* feat: getAllLocales and getDefaultLocale API

* fix: ssr render error

* feat: support auto redirect

* fix: redirect without url param

* feat: support add response handler

* chore: lock

* feat: support blockCookie option

* fix: route test

* fix: ssg error

* fix: i18n response

* feat: add server example

* chore: add basename

* chore: add headers

* feat: i18n docs

* fix: i18n plugin

* feat: enhance disable cookie

* docs: update disabledCookie documentation

* chore: update desc

* fix: param not defined

* fix: generate routes.ts

* fix: remove todo

* test: i18n

* test: i18n

* fix: lint warning

* fix: addDefineRoutesFunc to addRoutesDefinition

* chore: i18n plugin version

* chore: changelog

* feat: use modifyRenderData instead of runtimeOptions.raw

* chore: update changelog

* chore: rename param

* fix: comment

* feat: use createLogger instead of consola directly

* feat: change customRuntimeOptions type from string to object

* refactor: route id

* chore: remove unused console.log

* chore: add comment

* fix: win32 test fail

* chore: changelog
2023-04-24 10:18:53 +08:00
ClarkXia 021ceb91c0
fix: remove resolve field of jsnext:main (#6045)
* fix: context replacement for moment

* fix: regex rule

* fix: changelog

* fix: optimize webpack config

* fix: optimize webpack config

* fix: optimize code
2023-03-13 17:44:21 +08:00
luhc228 bed716fb74 feat: plugin-css-assets-local (#520)
* feat: init plugin

* feat: add plugin to example

* fix: lock

* docs: README

* docs: css-assets-local

* fix: typo
2022-11-15 10:31:09 +08:00
ClarkXia 301a467fdd feat: plugin fusion (#424)
* feat: plugin fusion

* feat: plugin fusion

* chore: publish config
2022-11-15 10:22:57 +08:00