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 hidden (Show)

modern.js - v2.40.0

Published by KyrieLii 11 months ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.39.2

Published by caohuilin 12 months ago

What's Changed

Bug Fixes 🐞

更新内容

Bug 修复 🐞

modern.js - v2.39.1

Published by caohuilin 12 months ago

What's Changed

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

Bug 修复 🐞

其他变更

modern.js - v2.39.0

Published by caohuilin 12 months ago

What's Changed

Bug Fixes 🐞

Other Changes

更新内容

Bug 修复 🐞

其他变更

modern.js - v2.38.0

Published by caohuilin 12 months ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.37.2

Published by Asuka109 12 months ago

What's Changed

Bug Fixes 🐞

modern.js - v2.37.1

Published by caohuilin about 1 year ago

What's Changed

Other Changes

modern.js - v2.37.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.36.0

Published by caohuilin about 1 year ago

[39m[22m

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

  1. support buildConfig.tsconfig, refine the scenarios for custom tsconfig, so replace dts.tsconfigPath with this.
  2. disable buildConfig.transformLodash by default:
    This optimisation was introduced in version 2.22.0 to reduce code size by modularising lodash import, but it may also cause some compatibility issues, so in version 2.32.0 a new transformLodash configuration has been added to manually disable this optimisation. In this version, this optimisation is turned off by default, and lodash is not processed separately by default.
  3. only use swc transform when enable transformImport, transformLodash or externalHelpers.
    swc conversion was introduced in version 2.16.0, but the implementation still has some problems, such as format cjs does not have "Annotate the CommonJS export names for ESM import in node", sourceType commonjs support is poor, etc. In this version, swc conversion is no longer used in full, and all kinds of limitations and judgements are removed, and only swc is used as a supplement to some features.
  4. remove unuse dependecies and improve code quality.
  5. support debug mode to print debug logs.
  6. fix some css module bugs.
  7. support buildConfig.jsx: preserve .
  8. support glob input in js and dts generator.
  9. support banner and footer.
    refactor(module-tools):
  10. 将 libuild 合入模块工程,添加 buildConfig.hooks,支持 load, transform 和 renderChunk 钩子。
  11. 支持 buildConfig.tsconfig 配置,用来完善自定义 tsconfig 的场景,请用它来替换 dts.tsconfigPath
  12. 默认禁用 buildConfig.transformLodash:
    此优化是由 2.22.0 版本引入,通过模块化 lodash 的导入从而减小代码体积,但这也可能导致一些兼容性问题,因此在 2.32.0 版本新增了 transformLodash 配置,可以手动关闭此优化。在此版本,默认关闭此优化,默认不对 lodash 作单独的处理。
  13. 只有在开启 transformImport, transformLodash 或 externalHelpers 时才使用 swc 转换。
    swc 转换是在 2.16.0 版本引入,但实现仍存在一些问题,例如 format cjs 没有 “Annotate the CommonJS export names for ESM import in node”,sourceType commonjs 支持不佳等等,在此版本,不再全量使用 swc 转换,移除各种限制和判断,只使用 swc 作为部分功能的补充。
  14. 移除未使用的依赖并提升代码质量。
  15. 支持 debug 模式打印调试日志。
  16. 修复一些 css module 问题。
  17. 支持 buildConfig.jsx: preserve 选项。
  18. 支持 glob 模式输入在 js 和 dts 生成器中。
  19. 支持 banner 和 footer 配置。 由 @10Derozan 实现, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4651
modern.js - v2.35.1

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.35.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.34.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.33.1

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

  • feat: new and upgrade command support --no-need-install params by @caohuilin

Bug Fixes 🐞

Other Changes

更新内容

Bug 修复 🐞

其他变更

modern.js - v2.33.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.32.1

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Other Changes

更新内容

新特性 🎉

其他变更

modern.js - v2.32.0

Published by jkzing about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.31.2

Published by caohuilin about 1 year ago

What's Changed

Bug Fixes 🐞

更新内容

Bug 修复 🐞

modern.js - v2.31.0

Published by caohuilin about 1 year ago

info @modern-js/monorepo-tools v2.30.0

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.30.0

Published by caohuilin about 1 year ago

info @modern-js/monorepo-tools v2.29.0

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.29.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

Package Rankings
Top 1.49% on Npmjs.org
Related Projects