v2.13.0
Features:
-
feat: generator plugin support relative path
feat: 生成器插件支持相对路径
-
fix: use display:table in table element
fix: 使用display:table在table元素上
-
doc: add content about dev config
doc: 添加关于 dev 配置的内容
-
refactor: move add builder-plugin-node-polyfill action to builder-generator
refactor: 将添加 builder-plugin-node-polyfill 的行为移动到 builder-generator
-
feat(builder): support using RegExp to inline part of chunks
feat(builder): 支持通过正则来内联部分资源
-
refactor(app-tools): inject assetPrefix by entry
refactor(app-tools): 通过 entry 来注入 assetPrefix 变量
-
chore(rspack-provider): apply fullySpecified mjs default value in Rspack
chore(rspack-provider): 在 Rspack 中设置 fullySpecified 在 mjs 下的默认值
-
refactor: remove inject template and unuse config, add internal compoennt named overview
refactor: 移除插入模板的逻辑和无用的配置,并添加内置概览组件
-
docs: add prefetch docs
docs: 添加 prefetch 的文档
-
feat: the rspack unsupport inline loader, so we move data-loader to bundler.module.rules
feat: rspack 不支持 inline loader, 所以我们将 data-loader 移动到 bundler.module.rules 配置中去。
-
chore: bump core-js and swc
chore: 升级 core-js 和 swc
-
feat(builder): add html.scriptLoading config
feat(builder): 新增 html.scriptLoading 配置
-
feat: support global props in createApp and pass garfish props in
feat: createApp 支持全局属性,garfish 通过这个方式透传 garfish props
-
feat(app-tools): export mergeConfig function
feat(app-tools): 导出 mergeConfig 函数
-
feat: redirect locale language in first visit
feat: 优化首次访问时的语言重定向
-
feat: support fuzzy search for remote search
feat: 服务端搜索支持模糊搜索
-
fix: search broken when search keyword is null
fix: 搜索关键字为空时搜索过程卡住
-
chore: improve ssr docs, add more use case for node/web code split
chore: 优化 ssr 文档,为 node/web 代码分割添加更多使用场景
-
feat: use
declarationDirinstead ofoutDirfeat: 使用
declarationDir替换outDir -
perf(plugin): reduce bundle size
perf(plugin): 优化包体积
-
chore(builder): support get builder/shared compiled path in provider getCompiledPath api
chore(builder): 支持通过 provider getCompiledPath api 获取 builder/shared 中预打包依赖路径
-
feat(rspack-provider): update Rspack to 0.1.7
feat(rspack-provider): 升级 Rspack 相关依赖至 0.1.7
-
feat: normalize link and image in mdx-rs
feat: mdx-rs 中支持 link 和 图片的规范化
Bug Fix:
-
fix(runtime): compile react-router to ensure the compatibility
fix(runtime): 通过编译 react-router 来保证对低版本浏览器的兼容性
-
fix(builder):
HtmlTagsPluginfailed to join public path with absolute urlfix(builder):
HtmlTagsPlugin为绝对路径拼接 public path 会导致格式错误 -
fix: plugin config hook can not get bundlerType, so we can't set babelConfig correctly in ssr plugin
fix: 插件的 config 钩子不能获得 bundlerType,所以我们在 ssr 插件不能正确的设置 babelConfig
-
fix: pin core-js version to 3.27 in SWC
fix: SWC 相关的 core-js 版本固定到 3.27
-
fix(doc-core): anchor
fix(doc-core): 锚点无效
-
fix: the
defineLegacyConfigshould set autoLoadPlugins = true by default.fix:
defineLegacyConfig应该默认将 autoLoadPlugins 设置为 true -
fix: code highlight & image not show
fix: 代码高亮失效 & 图片不显示
-
fix: generator plugin default config not work
fix: 修复生成器插件默认配置未生效问题
-
feat: set the default language of CLI to English
feat: 将命令行的默认语言设置为英文
-
chore: support output.merge / resolve.merge / resolve.get / resolve.fallback in bundler-chain
chore: 在 bundler-chain 中支持 output.merge / resolve.merge / resolve.get / resolve.fallback 方法
-
fix(upgrade): i18n of upgrade command not work
fix(upgrade): 修复 upgrade 命令的 i18n 配置不生效的问题
-
fix(module-tools): fix noClear option not work
fix(module-tools): 修复 noClear 配置不生效
-
fix(builder-plugin-swc): remove default env.mode
fix(builder-plugin-swc): 删除 env.mod 的默认值
-
hotfix: support bffPlugin when use rspack
hotfix: 在使用 Rspack 构建时,支持 BFF 插件