github alibaba/ice v2.6.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 env vaiables #5164

ice.js will load additional environment variables from the following files in project root

.env                # loaded in all cases
.env.local          # loaded in all cases, recommended ignored by git
.env.[mode]         # only loaded in specified mode
.env.[mode].local   # only loaded in specified mode, recommended ignored by git

To prevent accidentally leaking env variables to the client, only variables prefixed with ICE_ are exposed to project code

  • Feat: support rename main css chunk name #5159

Specify css chunk name in your build.json config:

{
  "cssChunkNames": "index-main.css"
}

css main chunk will be always named as index-main.css when build in vite mode

  • Feat: optimize webpack-dev-mock transformer #5162

speed up mock service by esbuild

Bug Fix

  • Fix: multi socket for hmr #5129
  • Fix: vitePlugins only take effect when vite is true #5160
  • Fix: escape MockPlugn when --disable-mock in mode vite #5178
  • Fix: disable router should work as usual in mode vite #5181
  • Fix: additional analyze for auth #5209

Don't miss a new ice release

NewReleases is sending notifications on new releases.