modern.js

Modern.js is a web engineering system, including a web framework and a npm package solution.

MIT License

Downloads
1.7M
Stars
4.2K
Committers
117

Bot releases are visible (Hide)

modern.js - v2.3.0

Published by github-actions[bot] over 1 year ago

Features:

  • #2763

    chore: fix module-tools doc startUrl not work

    chore: 修复文档配置的 startUrl 未生效的问题

  • #2745

    feat: global ui components

    feat: 支持全局组件

  • #2724

    chore: reuse splitChunks plugin between rspack-provider and webpack-provider

    chore: 在 rspack-provider 和 webpack-provider 间复用 splitChunks plugin

  • #2742

    feat: config file hmr

    feat: 配置文件热更新

  • #2731

    feat(builder): improve succeed and failed progress log

    feat(builder): 优化编译成功或失败时的进度条效果

  • #2749

    chore(builder): remove unused ajv schema types

    chore(builder): 移除过时的 ajv 相关类型

  • #2752

    update libuild version

    升级libuild版本

  • #2764

    feat: add watch hooks

    feat: 添加 watch hooks

  • #2738

    feat: optimize storybook eslint generator

    feat: 优化 storybook 中 eslint 生成器配置

  • #2766

    feat(core): support read modern.config.local.ts

    feat(core): 支持读取 modern.config.local.ts 文件

  • #2733

    feat: plugin define accept undefined

    feat: define 插件的选项允许接受 undefined

  • #2764

    feat: Remove the listening mode build task before Storybook starts

    feat: 在 Storybook 启动之前,移除监听模式的构建任务

  • #2751

    feat(builder): improve error logs of syntax checker

    feat(builder): 优化 syntax 检查的错误日志

  • #2736

    docs: optimiz module content

    docs: 优化文档内容

  • #2734

    feat: runtime package use treeshaking production for ssr bundle

    feat: runtime 包使用 treeshaking 产物作为 ssr bundle 打包入口

  • #2764

    fix: remove disableRunBuild

    fix: 移除 disableRunBuild

  • #2741

    feat: add builder check syntax plugin

    feat: 新增 builder 兼容语法检测插件

  • #2760

    docs: fix code symbol error

    docs: 修复代码里符号的错误

  • #2726

    feat: optimize js bundle in doc

    feat: 优化 doc-tools 打包的 JS bundle 大小

  • #2761

    chore: expose DocPlugin type

    chore: 暴露 DocPlugin 类型

  • #2747

    feat(rspack-builder): add rspack minimize plugin

    feat(rspack-builder): 添加 rspack minimize 插件

Bug Fix:

  • #2743

    fix: use pluginName instead of a steady name

    修复 garfish 插件导出名称固定导致依赖找不到的问题

  • #2754

    fix(doc-tools): config not updated after hmr

    fix(doc-tools): 配置文件热更后数据未更新

  • #2762

    fix(core): merge array config correctly

    fix(core): 修复合并配置中的数组时出现错误的问题

  • #2767

    fix: export problem

    fix: 修复导出找不到的问题

  • #2725

    fix: failed to exit new command

    fix: 修复 new 命令执行完成后未退出进程的问题

  • #2771

    fix: search not work when only add default lang in locales config

    fix: 修复只配置了默认语言时搜索不生效的问题

  • #2730

    fix(builder-shared): failed to open start URL in macOS

    fix(builder-shared): 修复在 macOS 上打开 start URL 失败的问题

  • #2744

    fix(doc-core): fix code color when inside a custom block

    fix(doc-core): 修复自定义 block 中的 code 颜色错误

  • #2722

    fix(@modern-js/builder-shared): openBrowser add openChrome.applescript script

    fix(@modern-js/builder-shared): openBrowser 添加 openChrome.applescript 脚本

  • #2748

    fix: .ejs is not a valid config file extension

    fix: 修复配置文件使用 .ejs 作为后缀的问题

  • #2753

    fix(utils): fix pre-bundled ajv types

    fix(utils): 修复预打包后的 ajv 中的类型问题

  • #2746

    fix umd code can not support es5 target

    修复umd的代码不能被转换成es5的问题

  • #2737

    fix: overview error caused by pages not found

    fix: 大纲页面因 pages 数据找不到而报错

  • #2765

    fix(doc-core): list item missing line-height

    fix(doc-core): 修复列表中的选项缺少 line-height 的问题

  • #2758

    fix(server): hmr protocol set error

    fix(server): 修复 hmr protocol 配置错误问题

  • #2772

    fix: use yarn not get right package version

    fix: 修复使用 yarn 获取包版本失败问题

  • #2755

    fix(builder): should not emit async chunk when target is web-worker

    fix(builder): 修复 target 为 web-worker 时产物中出现 async chunk 的问题

  • #2723

    fix: sidebar icon color

    fix: 修复侧边栏 icon 背景色问题

modern.js - v1.22.5

Published by github-actions[bot] over 1 year ago

Features:

  • #2677

    chore(devServer): make hmr client protocol configurable

    chore(devServer): 支持配置 hmr client protocol

Bug Fix:

  • #2706

    fix(prod-server): failed to match html inside config/public directory

    fix(prod-server): 修复无法正确匹配 config/public 目录下的 HTML 文件 URL 的问题

modern.js - v2.2.0

Published by github-actions[bot] almost 2 years ago

Features:

  • #2713

    feat(babel-plugin-base): compatible with antd v5

    feat(babel-plugin-base): 适配 antd v5,不再注册 babel-plugin-import

  • #2708

    chore: reuse rem AutoSetRootFontSizePlugin between rspack-provider and webpack-provider

    chore: 在 rspack-provider 和 webpack-provider 间复用 rem AutoSetRootFontSizePlugin

  • #2701

    chore: remove some unused deps, bump postcss version

    chore: 移除未使用的依赖, 升级 postcss 版本

  • #2719

    feat: support four features in home page

    feat: 支持 4 个 feature 同行排列

  • #2715

    feat: custom themeDir & NoSSR component

    feat: 支持自定义 themeDir & NoSSR 组件

  • #2684

    feat: add legacyDefineConfig function

    feat: 添加 legacyDefeinConfig 函数

  • #2698

    feat(doc-tools): export UserConfig and NavItem types

    feat(doc-tools): 导出 UserConfig 和 NavItem 类型

  • #2711

    not use 'npm-library' preset by default

    默认不会使用 'npm-library' 预设

  • #2679

    feat: optimize withBase api to avoid duplicate base

    feat: 优化 withBase api,避免重复添加 base

  • #2688

    feat: doc layout optimize

    feat: 优化文档页面布局,避免正文内容闪烁

  • #2675

    chore(devServer): make hmr client protocol configurable

    chore(devServer): 支持配置 hmr client protocol

  • #2700

    feat(builder): support port placeholder in dev.startUrl config

    feat(builder): 支持在 dev.startUrl 配置项中使用端口号占位符

  • #2672

    docs(Builder): fix some keyword is replaced incorrectly

    docs(Builder): 修复个别关键词被错误替换的问题

  • #2711

    template add buildPreset

    模板里添加buildPreset配置

  • #2693

    chore: adjust builder plugin name

    chore: 调整 builder 插件命名格式

  • #2697

    feat: modern-js/core can watch files change

    feat: modern-js/core 可以监听文件变化

  • #2685

    feat: generator template upgrade node version to 16

    feat: 生成器模板升级 node 版本到 16

  • #2680

    docs: modify data loader usage in the guide

    docs: 修改指南中 data loader 的用法

Bug Fix:

  • #2683

    fix(app-tools): dev --entry not work

    fix(app-tools): 修复 dev --entry 参数不生效的问题

  • #2718

    fix: doc-core bundle

    fix: 修复 doc-core 产物报错问题

  • #2681

    fix: prev-next data is empty

    fix: 解决上一页下一页数据为空的问题

  • #2694

    fix(utils): bump json5 to fix security issue

    fix(utils): 升级 json5 以修复安全问题

  • #2678

    fix(doc-core): remove duplicate base URL

    fix(doc-core): 修复 base URL 重复添加的问题

  • #2705

    fix(prod-server): failed to match html inside config/public directory

    fix(prod-server): 修复无法正确匹配 config/public 目录下的 HTML 文件 URL 的问题

  • #2689

    fix: fix the router/server export

    fix: 修复 router/server 的导出

  • #2707

    fix: search box render & /zh redirect

    fix: 搜索框渲染问题 & /zh 路由重定向

  • #2691

    fix: micro generator template

    fix: 修复微生成器模板

  • #2696

    fix: Using extends to solve the tsconfig configuration path conversion problem

    fix: 使用 extends 解决 tsconfig 配置路径转换的问题

  • #2676

    fix(plugin-garfish): fix sub app import garfish runtime

    fix(plugin-garfish): 修复微前端子应用引入了 Garfish Runtime

  • #2703

    fix: Fix the failure to resolve the path correctly when running Storybook

    fix: 修复运行 Storybook 时候无法正确解析路径

  • #2695

    fix: when a child route does not exist, an empty layout should not be created

    fix: 子路由不存在时,不应该创建空的 layout

  • #2690

    fix: <1440px screen style

    fix: 修复 <1440px 宽度屏幕样式

  • #2685

    fix: plugin-proxy rootca request port error

    fix: 修复插件代理 rootca 请求端口错误

  • #2715

    fix: ignore list in globby

    fix: 设置 globby 的 ignore 选项

  • #2684

    fix: package.json error publishConfig.types

    fix: 修改 package.json 里错误的 publishConfig.types

  • #2673

    fix: @modern-js/core add afterPrepare hook

    fix: @modern-js/core 新增 afterPrepare hook

  • #2686

    fix: modify buildConfig API

    fix: 修改 buildConfig API

modern.js - v2.1.0

Published by github-actions[bot] almost 2 years ago

Features:

  • #2603
    feat: new command support --lang params

    feat: new 命令支持 --lang 参数

  • #2640

    feat(app-tools): allow to use dev.port config

    feat(app-tools): 支持使用 dev.port 配置

  • #2483

    support metafile

    支持生成metafile

  • #2647

    update module ts-template

    更新模块的ts模板

  • #2635

    chore: optimize the capitalization of plugin names

    chore: 规范引用插件时的命名格式,统一使用 camelCase 代替 PascalCase

  • #2622

    docs: remove the docs about the data loader defined in the routing component

    docs: 移除 data loader 定义在路由组件中的相关文档

  • #2631

    feat: add util mergeBuilderConfig for modifyBuilderConfig hook

    feat: modifyBuilderConfig 钩子回调提供工具函数 mergeBuilderConfig

  • #2629

    docs: add docs for config and init

    docs: 添加 config 和 init 在嵌套路由下的文档

  • #2658

    chore: hard code MODER_TARGET

    chore: 硬编码 MODER_TARGET

  • #2657

    feat: optimize TTI & build performance

    feat: 优化 TTI 和构建性能

  • #2668

    feat(doc-core): increase sidebar width to 280px

    feat(doc-core): 增加 sidebar 宽度至 280px

  • #2655

    feat(doc-core): append main title as a suffix

    feat(doc-core): 将站点名称作为页面标题的后缀

  • #2636

    chore: optimize the capitalization of new command plugin names

    chore: 优化 new 命令提示的插件名称格式

  • #2666

    feat(doc-core): improve nav style

    feat(doc-core): 优化导航栏样式

  • #2653

    feat: accept undefined as JSONPrimitive

    feat: JSONPrimitive 类型允许接受 undefined

  • #2642

    feat: support static image in doc-tools

    feat: 文档框架支持引入静态图片

Bug Fix:

  • #2661

    fix: fix doc description

    fix: 修复文档描述

  • #2656

    fix(app-tools): SVG default export type

    fix(app-tools): 修复 SVG 默认导出的类型错误

  • #2648

    fix(app-tools): server.port not work in development

    fix(app-tools): 修复开发环境下 server.port 不生效的问题

  • #2639

    fix: loadable component should not be wrapped in suspense

    fix: loadable component 不应该被 suspense 包裹

  • #2661

    fix: Disable detect tsconfig.json

    fix: 禁用探测 tsconfig.json

  • #2662

    fix: remove the prebundle for data loader

    fix: 移除 data loader 的预打包

  • #2611

    fix: can't exit process after build

    fix: 在 build 后不退出程序

  • #2644

    fix(doc-core): fix nav dropdown item text wrap

    fix(doc-core): 修复导航栏下拉菜单的文字换行问题

  • #2618

    fix(builder): no longer remove comments of HTML

    fix(builder): 不再默认移除 HTML 中的注释

  • #2649

    fix: storybook template update tsconfig not work

    fix: 修复 storybook 生成器模板更新 tsconfig 不成功

  • #2633

    fix(core): incorrect NODE_ENV when run start command

    fix(core): 修复运行 start 命令时 NODE_ENV 设置错误的问题

  • #2669

    fix: add missing esbuild

    fix: 添加缺失的 esbuild

  • #2643

    fix: fix webpack builder config

    fix: 修复 webpack builder 配置

  • #2661

    feat(builder): add new option html.tags & html.tagsByEntries

    feat(builder): 添加新的配置项 html.tagshtml.tagsByEntries

  • #2626

    fix(builder): incorrect config file name when inspect

    fix(builder): 修复 inspect 时配置文件名称不正确的问题

modern.js - v1.22.4

Published by github-actions[bot] almost 2 years ago

Features:

  • #2621

    export type UserConfig and fix type ToolsConfig

    导出UserConfig类型并且修复ToolsConfig类型

Bug Fix:

  • #2660

    fix: module solution new command install plugin version

    fix: 修复模块工程方案 new 命令安装插件版本

  • #2612

    fix: can't exit process after build

    fix: 在 build 后不退出程序

modern.js - v2.0.2

Published by github-actions[bot] almost 2 years ago

Features:

  • #2599

    update libuild version to support svgr in bundleless, and svgr only support default export

    更新libuild版本以支持svgr能在bundleless下工作,同时svgr只支持default export

Bug Fix:

  • #2593

    fix: module test plugin dep

    fix: 修复模块开启测试功能依赖提示问题

  • #2598

    feat: advance the timing of static resource loading

    feat: 将嵌套路由下静态资源加载时机提前

modern.js - v2.0.1

Published by github-actions[bot] almost 2 years ago

Bug Fix:

  • #2590

    fix: module tools v2.0.0 bad version

    fix: 修复 module tools v2.0.0 版本问题

modern.js - v2.0.0

Published by github-actions[bot] almost 2 years ago

Features:

  • #2572

    feat: Add warning when SWC minification takes too much time.

    feat: SWC 压缩时间过久时,发出警告。

  • #2562

    feat: mwa generator template remove runtime.state config

    feat: mwa 生成器模板默认关闭 runtime.state 配置

  • #2565

    feat: Add plugin-import test, add minify timeout checker

    feat: 加入 plugin-import 测试,加入 minify 超时报错提示

  • #2379

    feat:

    1. change storybook runtime logic

    2. export runtime api define from runtime module

    3. refactor defineConfig in module-tools

    feat:

    1. 更改 Storybook 对于 Runtime API 的处理逻辑

    2. 从 @modern-js/runtime 导出 Runtime API 的用户配置

    3. 重构 module-tools 的 defineConfig

  • #2555

    默认关闭svgr功能

    close svgr default

  • #2485

    feat: support React18 streaming SSR

    feat: 支持 React18 流式 SSR

  • #2485

    feat: modernjs Access builder compiler

    feat: modernjs 接入 builder 构建

  • #2485

    chore: rename plugin-jarvis to plugin-lint

    chore: 重命名 plugin-jarvis 为 plugin-lint

  • #2485

    feat: refactor router with [email protected]

    feat: 使用 [email protected] 重构路由模块

  • #2485

    feat: upgrade ESLint to 8.x version

    feat: 升级 ESLint 到 8.x 版本

  • #2485 chore: v2

  • #2485

    feat: support nested routes

    feat: 支持嵌套路由

  • #2576

    fix(plugin-garfish): 修复 assetPrefix 用户配置被 plugin-garfish 覆盖问题,自定义入口未正确传递节点参数

    fix(plugin-garfish): Fix the problem that the assetPrefix user configuration is overwritten by plugin-garfish, and the custom entry does not pass the node parameters correctly

  • #2567

    fix: garfish wrapped app missing props

    fix: garfish 包装过的 APP 缺少 props

  • #2563

    fix tsconfig extends path calculation errors

    修复tsconfig里extends路径计算错误的问题

  • #2485

    feat: add @modern-js/plugin-swc

    feat: 新增 @modern-js/plugin-swc 插件

modern.js - v1.22.3

Published by github-actions[bot] almost 2 years ago

Bug Fix:

fix: create tools distTag not right

fix: 修复 @modern-js/create 默认 distTag 不正确

modern.js - v1.22.2

Published by github-actions[bot] almost 2 years ago

Features:

  • #2452

    feat: v1 release use modern-1 tag

    feat: v1 发布使用 modern-1 tag

  • #2452

    feat: monorepo upgrade only update root package.json version

    feat: monorepo 升级命令仅支持更新根目录 package.json 版本,子项目版本在子项目中执行 upgrade 命令

modern.js - v1.22.1

Published by github-actions[bot] almost 2 years ago

Bug Fix:

  • #2384

    fix(app-tools): failed to copy HTML from config/public dir

    fix(app-tools): 修复从 config/public 拷贝 HTML 文件时可能出现编译错误的问题

  • #2395

    fix(webpack): failed to replace assetPrefix

    fix(webpack): 修复替换 assetPrefix 失败的问题

modern.js - v1.21.6

Published by github-actions[bot] almost 2 years ago

Features:

  • #2190

    update speedy version

    更新依赖里speedy的版本

  • #2148

    feat: support async export provider for module federation

    支持模块联邦场景异步导出 provider

Bug Fix:

  • #2210

    fix: generator utils get plugin version

    fix: 修复生成器获取插件版本报错

  • #2240

    fix: bootstrap func ReactDOM params type when use react18

    fix: 修复当使用 React18 时, bootstrap 函数 ReactDOM 参数类型

  • #2235

    fix: upgrade command update husky error

    fix: 修复 upgrade 命令升级 husky 错误问题

  • #2192

    fix: state runtime plugin init hook not return next function

    fix: 修复 state runtime 插件 init 钩子未返回 next 函数

modern.js - v1.21.5

Published by github-actions[bot] almost 2 years ago

Release v1.21.5

Bug Fix:

  • #2153

    fix: bootstrap function params type define

    fix: 修复 bootstrap 函数参数类型定义

  • #2164

    fix: extname function logic bug fix

    fix: 修复 extname 函数的逻辑问题

  • #2154

    fix: esbuild should not handle js files

    fix: esbuild 不应该处理非 js 文件

  • #2133

    fix(plugin-polyfill): failed to join flags when restart CLI

    fix(plugin-polyfill): 修复重启 CLI 时报错 join flags 失败的问题

  • #2170

    fix: storybook generator runtimeDependenceVersion keyword

    fix: storybook 生成器 runtimeDependenceVersion 关键字

  • #2180

    fix: loadApp when dom is mount

    修复 dom 未渲染时挂载子应用行为

modern.js - v1.21.4

Published by github-actions[bot] almost 2 years ago

Release v1.21.4

Features:

  • #2096

    chore: dev server default cross origin

    chore: 开发环境 Dev Server 默认跨域

Bug Fix:

  • #2113

    update speedy-core to fix sass resolve error

    模块工程更新 speedy-core 版本以修复 sass resolve 错误

modern.js - v1.21.3

Published by github-actions[bot] almost 2 years ago

Release v1.21.3

Bug Fix:

  • #2073

    fix: mwa generator remove build in prepare command

    fix: mwa 生成器在 prepare 命令中移除 build 步骤

modern.js - v1.21.2

Published by github-actions[bot] almost 2 years ago

Release v1.21.2

Features:

  • #2030

    feat: @modern-js/create support --packages params to set special packages version

    feat: @modern-js/create 支持 --packages 参数用于指定特殊的包版本

  • #1714

    chore: add types for exports field

    chore: 为 exports 补充 types 字段

Bug Fix:

  • #2019

    fix(garfish): fix reRender issue when use apps and Garfish.run with activeWhen parameter

    修复在同时调用 apps 和 Garfish.run 方法并提供 activeWhen 参数时重复渲染的问题

  • #2022

    fix(builder): incorrect ModuleFilenameHelpers path

    fix(builder): 修复 ModuleFilenameHelpers 路径大小写错误

  • #2055

    fix: add missing 'file' fields

    fix: 添加缺失的 file 字段

modern.js - v1.21.1

Published by github-actions[bot] almost 2 years ago

Features:

  • #1986

    fix: support node-linker=hoist

    fix: 支持 node-linker=hoist

Bug Fix:

  • #1984

    fix: entry generator template

    fix: 调整 MWA 项目入口模板

  • #1974

    fix: remove useless mount check ref

    移除过时的确认挂载的 ref

modern.js - v1.21.0

Published by yimingjfe almost 2 years ago

Features:

  • #1869

    feat(builder): support display compile time in progress bar

    feat(builder): 支持在进度条中展示编译时间

  • #1951

    feat: remove node internal package like fs or path which import by ssr runtime

    feat: 删除在 ssr runtime 中引用的 node 内部包

  • #1880

    fix: reduce compile parameters for dev-server

    fix: 减少 dev-server 编译所需参数

  • #1897

    feat: Support disable builder performance.builderCache configuration

    feat: 支持禁用掉 builder performance.buildeCache 配置项

  • #1889

    feat(builder): improve log info of inspectConfig method

    feat(builder): 优化 inspectConfig 方法的日志输出

  • #1888

    feat: new command install not run prepare scripts

    feat: new 命令安装依赖时不执行 prepare 脚本

  • #1880

    chore: reduce parameters for dev-server & update default config value in builder startDevServer

    chore: 缩简 devServer 配置定义 & 更新 builder startDevServer 方法 config 默认值

  • #1922

    feat(webpack): expose HtmlWebpackPlugin instance in tools.webpack

    feat(webpack): 支持在 tools.webpack 中获取到 HtmlWebpackPlugin 实例

  • #1886

    feat(builder): support distPath.server config

    feat(builder): 支持 distPath.server 配置项

Bug Fix:

  • #1896

    fix: new action version when new electron

    fix: 修复启用 Electron 时版本报错

  • #1958

    fix: new testing reference type

    fix: 修复开启测试功能 reference 类型

  • #1830

    fix(bundle-require): should bundle ts or esm files inside node_modules

    fix(bundle-require): 修复无法打包 node_modules 下的 ts 和 esm 文件的问题

  • #1910

    fix: runtime export field

    fix: 修复 runtime 包导出字段

  • #1926

    fix: tools.webpack of Storybook API not work

    fix: 修复 Storybook API tools.webpack 不生效

  • #1910

    fix: state runtime plugin params

    fix: state 插件参数格式

  • #1927

    fix(core): dev.https missing object type

    fix(core): 修复 dev.https 配置项缺少对象类型的问题

  • #1955

    fix: add missing ssr exports from runtime ssr plugin

    fix: 补充 runtime ssr 插件中丢失的 ssr 导出

  • #1891

    fix(plugin): fix return type of Workflow

    fix(plugin): 修复 Workflow 的返回值类型错误

  • #1881

    fix(builder): inlined assets should be deleted after all html generated

    fix(builder): inline 的资源应该在所有 html 生成后被删除

  • #1923

    fix: should not do render if set location header and 302 status in middleware

    fix: 如果在 middleware 中设置了 location 头和 302 状态码,则不应该走渲染逻辑

  • #1907

    fix(prod-server): failed to match URL which ends with ".html"

    fix(prod-server): 修复无法匹配到以 ".html" 结尾的 URL 的问题

  • #1912

    fix: modify the parameters passed to the compile function of server-utils

    fix: 修改传入server-utils的compile函数的参数

  • #1885

    fix(builder): default value of tools.tsChecker config

    fix(builder): 修复 tools.tsChecker 默认值错误的问题

  • #1899

    fix(builder): failed to write stderr messages

    fix(builder): 修复输出 stderr 信息时不展示的问题

  • #1877

    fix(builder): not apply style-loader or extract css when target is node

    fix(builder): 修复 CSS 构建时注册了 style-loader 或 extract css 导致报错的问题

modern.js - v1.20.1

Published by github-actions[bot] about 2 years ago

Features:

  • #1870

    fix(Garfish): invoke setOptions to pass configuration to Garfish instance

    修复 config 无法传递给 Garfish 实例问题

Bug Fix:

  • #1872

    fix(utils): failed to call logger.success method

    fix(utils): 修复调用 logger.success 出现异常的问题

modern.js - v1.20.0

Published by xuchaobei about 2 years ago

Features:

  • #1826

    feat: add afterDev hook

    feat: 添加 afterDev 钩子

  • #1862

    feat: support Webpack profile configuration

    feat: 支持 Webpack profile 配置项

  • #1868

    docs(builder): add docs for inline chunks

    docs(builder): 增加 inline chunks 文档

  • #1839

    feat(devServer): support devServer.setupMiddlewares config

    feat(devServer): 支持 devServer.setupMiddlewares 配置项

  • #1809

    feat: generator plugin support set default config

    feat: 生成器插件支持设置增加问题的默认值

  • #1845

    feat: optimize the logger of @modern-js/utils, remove builder logger

    feat: 优化 @modern-js/utils 的 logger 格式, 移除 builder 内置的 logger

  • #1800

    fix: upgrade tools npmrc content

    fix: 升级工具 npmrc 文件配置

  • #1833

    feat(builder): allow to close dev server

    feat(builder): 支持关闭 dev server

  • #1837

    chore(builder): bump webpack to 5.74.0

    chore(builder): 升级 webpack 到 5.74.0 版本

  • #1820

    feat: support loadable scripts add crossorigin attribute

    feat: SSR 支持 loadable 脚本添加 crossorigin 属性

  • #1842

    chore: move copyTask from bundleless task to build task

    chore: 把copy任务从bundleless任务中移动到build任务中

  • #1825

    feat: allow user config managerWebpack

    feat: 运行用户配置 managerWebpack

  • #1799

    feat: support devServer.historyApiFallback

    feat: 支持 devServer.historyApiFallback 配置项

  • #1828

    chore(builder): move constants and utils to shared package

    chore(builder): 将常量和 utils 移动至 shared 包

  • #1858

    feat: support Webpack resolve.mainFields configuration

    feat: 支持 Webpack resolve.mainFields 配置项

  • #1861

    chore(devServer): get devServer config from this.dev

    chore(devServer): 从 this.dev 上获取 devServer 配置

  • #1845

    fix(core): failed to log validate config errors from plugins

    fix(core): 修复校验 plugin 中的 config 异常时,日志格式不正确的问题

Bug Fix:

  • #1793

    fix: extends path error

    fix: 修复 extends 字段路径的问题

  • #1844

    fix(builder): api.onExit hook not work

    fix(builder): 修复 api.onExit 钩子不生效的问题

  • #1854

    fix(builder): disable resolve.fullySpecified by default

    fix(builder): 默认禁用 resolve.fullySpecified 规则

  • #1843

    fix(app-tools): remove useless logging option

    fix(app-tools): 移除无效的 logging 选项

  • #1840

    fix: ssr runtime plugin need default config

    fix: ssr 运行时插件需要传入默认配置

  • #1865

    fix: generator plugin addHelper api

    fix: 修复生成器插件 addHelper this 指向问题

  • #1829

    fix(builder): should not apply react refresh when dev.hmr is false

    fix(builder): 修复 dev.hmr 为 false 时仍然会注入 react-refresh 的问题

  • #1767

    fix: change preview template

    fix: 修改 preview 模板文件

  • #1866

    fix(utils): failed to resolve execa

    fix(utils): 修复找不到 execa 模块的问题

  • #1860

    fix(builder): add hash for static assets in dev to avoid conflict

    fix(builder): 在开发环境下生成静态资源时,默认添加 hash 以避免文件名冲突

  • #1849

    fix(builder): remove asset file after inlining it into html

    fix(builder): 在 inline 后删除 asset 文件

  • #1844

    fix(webpack): react-refresh-webpack-plugin cause rebuild slow

    fix(webpack): 修复 react-refresh-webpack-plugin 导致重新编译慢的问题

  • #1852

    fix: support monorepo deploy in pnpm 7

    fix: 修复 monorepo deploy 命令在 pnpm 7 下的问题

  • #1587

    fix: console error message if error stack not exist

    fix: 如果错误堆栈不存在,则输出错误信息

Package Rankings
Top 1.49% on Npmjs.org
Related Projects