v1.21.0
Features:
-
feat(builder): support display compile time in progress bar
feat(builder): 支持在进度条中展示编译时间
-
feat: remove node internal package like fs or path which import by ssr runtime
feat: 删除在 ssr runtime 中引用的 node 内部包
-
fix: reduce compile parameters for dev-server
fix: 减少 dev-server 编译所需参数
-
feat: Support disable builder performance.builderCache configuration
feat: 支持禁用掉
builder performance.buildeCache配置项 -
feat(builder): improve log info of inspectConfig method
feat(builder): 优化 inspectConfig 方法的日志输出
-
feat: new command install not run prepare scripts
feat: new 命令安装依赖时不执行 prepare 脚本
-
chore: reduce parameters for dev-server & update default config value in builder startDevServer
chore: 缩简 devServer 配置定义 & 更新 builder startDevServer 方法 config 默认值
-
feat(webpack): expose HtmlWebpackPlugin instance in tools.webpack
feat(webpack): 支持在 tools.webpack 中获取到 HtmlWebpackPlugin 实例
-
feat(builder): support distPath.server config
feat(builder): 支持 distPath.server 配置项
Bug Fix:
-
fix: new action version when new electron
fix: 修复启用 Electron 时版本报错
-
fix: new testing reference type
fix: 修复开启测试功能 reference 类型
-
fix(bundle-require): should bundle ts or esm files inside node_modules
fix(bundle-require): 修复无法打包 node_modules 下的 ts 和 esm 文件的问题
-
fix: runtime export field
fix: 修复 runtime 包导出字段
-
fix:
tools.webpackof Storybook API not workfix: 修复 Storybook API tools.webpack 不生效
-
fix: state runtime plugin params
fix: state 插件参数格式
-
fix(core): dev.https missing object type
fix(core): 修复 dev.https 配置项缺少对象类型的问题
-
fix: add missing ssr exports from runtime ssr plugin
fix: 补充 runtime ssr 插件中丢失的 ssr 导出
-
fix(plugin): fix return type of Workflow
fix(plugin): 修复 Workflow 的返回值类型错误
-
fix(builder): inlined assets should be deleted after all html generated
fix(builder): inline 的资源应该在所有 html 生成后被删除
-
fix: should not do render if set location header and 302 status in middleware
fix: 如果在 middleware 中设置了 location 头和 302 状态码,则不应该走渲染逻辑
-
fix(prod-server): failed to match URL which ends with ".html"
fix(prod-server): 修复无法匹配到以 ".html" 结尾的 URL 的问题
-
fix: modify the parameters passed to the compile function of server-utils
fix: 修改传入server-utils的compile函数的参数
-
fix(builder): default value of tools.tsChecker config
fix(builder): 修复 tools.tsChecker 默认值错误的问题
-
fix(builder): failed to write stderr messages
fix(builder): 修复输出 stderr 信息时不展示的问题
-
fix(builder): not apply style-loader or extract css when target is node
fix(builder): 修复 CSS 构建时注册了 style-loader 或 extract css 导致报错的问题