v2.3.0
Features:
-
chore: fix module-tools doc startUrl not work
chore: 修复文档配置的 startUrl 未生效的问题
-
feat: global ui components
feat: 支持全局组件
-
chore: reuse splitChunks plugin between rspack-provider and webpack-provider
chore: 在 rspack-provider 和 webpack-provider 间复用 splitChunks plugin
-
feat: config file hmr
feat: 配置文件热更新
-
feat(builder): improve succeed and failed progress log
feat(builder): 优化编译成功或失败时的进度条效果
-
chore(builder): remove unused ajv schema types
chore(builder): 移除过时的 ajv 相关类型
-
update libuild version
升级libuild版本
-
feat: add watch hooks
feat: 添加 watch hooks
-
feat: optimize storybook eslint generator
feat: 优化 storybook 中 eslint 生成器配置
-
feat(core): support read modern.config.local.ts
feat(core): 支持读取 modern.config.local.ts 文件
-
feat: plugin define accept
undefinedfeat: define 插件的选项允许接受
undefined -
feat: Remove the listening mode build task before Storybook starts
feat: 在 Storybook 启动之前,移除监听模式的构建任务
-
feat(builder): improve error logs of syntax checker
feat(builder): 优化 syntax 检查的错误日志
-
docs: optimiz module content
docs: 优化文档内容
-
feat: runtime package use treeshaking production for ssr bundle
feat: runtime 包使用 treeshaking 产物作为 ssr bundle 打包入口
-
fix: remove disableRunBuild
fix: 移除 disableRunBuild
-
feat: add builder check syntax plugin
feat: 新增 builder 兼容语法检测插件
-
docs: fix code symbol error
docs: 修复代码里符号的错误
-
feat: optimize js bundle in doc
feat: 优化 doc-tools 打包的 JS bundle 大小
-
chore: expose DocPlugin type
chore: 暴露 DocPlugin 类型
-
feat(rspack-builder): add rspack minimize plugin
feat(rspack-builder): 添加 rspack minimize 插件
Bug Fix:
-
fix: use pluginName instead of a steady name
修复 garfish 插件导出名称固定导致依赖找不到的问题
-
fix(doc-tools): config not updated after hmr
fix(doc-tools): 配置文件热更后数据未更新
-
fix(core): merge array config correctly
fix(core): 修复合并配置中的数组时出现错误的问题
-
fix: export problem
fix: 修复导出找不到的问题
-
fix: failed to exit new command
fix: 修复 new 命令执行完成后未退出进程的问题
-
fix: search not work when only add default lang in locales config
fix: 修复只配置了默认语言时搜索不生效的问题
-
fix(builder-shared): failed to open start URL in macOS
fix(builder-shared): 修复在 macOS 上打开 start URL 失败的问题
-
fix(doc-core): fix code color when inside a custom block
fix(doc-core): 修复自定义 block 中的 code 颜色错误
-
fix(@modern-js/builder-shared): openBrowser add openChrome.applescript script
fix(@modern-js/builder-shared): openBrowser 添加 openChrome.applescript 脚本
-
fix: .ejs is not a valid config file extension
fix: 修复配置文件使用 .ejs 作为后缀的问题
-
fix(utils): fix pre-bundled ajv types
fix(utils): 修复预打包后的 ajv 中的类型问题
-
fix umd code can not support es5 target
修复umd的代码不能被转换成es5的问题
-
fix: overview error caused by pages not found
fix: 大纲页面因 pages 数据找不到而报错
-
fix(doc-core): list item missing line-height
fix(doc-core): 修复列表中的选项缺少 line-height 的问题
-
fix(server): hmr protocol set error
fix(server): 修复 hmr protocol 配置错误问题
-
fix: use yarn not get right package version
fix: 修复使用 yarn 获取包版本失败问题
-
fix(builder): should not emit async chunk when target is web-worker
fix(builder): 修复 target 为 web-worker 时产物中出现 async chunk 的问题
-
fix: sidebar icon color
fix: 修复侧边栏 icon 背景色问题