github alibaba/ice v2.5.0

latest releases: @ice/app@3.4.11, @ice/rspack-config@1.1.9, @ice/plugin-stream-error@1.0.1...
2 years ago

Improvement

  • Feat: support SSR in Vite mode #5045

Enable SSR feature in Vite mode by config "ssr": true:

{
  "vite": true,
+  "ssr": true
}
  • Feat: i18n solution for icejs #4969

A new plugin for i18n is provided by ICE Team, enable i18n by add plugin build-plugin-ice-i18n

{
  "plugins": [
    [
      "build-plugin-ice-i18n", {
        "locales": ["en-US", "zh-CN", "nl-NL"],
        "defaultLocale": "zh-CN"
      }
    ]
  ]
}
  • Feat: optimize runtime when build #5082

Built-in optimization for bundle size, size will reduce more than 20+KB(minified) .

  • Feat: support cli option force to clear cache #5117
npm start -- --force

or

- "start": "icejs start"
+ "start": "icejs start --force"

Bug Fix

  • Fix: set content-type for html output #5110
  • Fix: compatible for src/main input when using vite-plugin-index-html #5104
  • Fix: plugin-store use the incorrect alias #5113
  • Fix: swc mode error #5143

Don't miss a new ice release

NewReleases is sending notifications on new releases.