Releases: alibaba/ice
Releases · alibaba/ice
v2.6.7
v2.6.6
v2.6.5
- Feat: support type definition of store by
createModel
#5443 - Fix: do not minify source in folder public when build #5308
- Fix: duplicate interceptor used when load App as a sub app #5321
- Fix: problems with parse paths specified in url of css files #5350
- Fix:
getInitialProps
andgetStaticPath
do not execute in mode SSR #5398 #5325 - Fix: compatible to
toString()
function #5399 - Fix: compatible with undefined proxy #5369
- Fix: use
fullhash
replace ofhash
in webpack mode #5407 - Feat: add options
forceLocal
of extract-css-assets plugin #5378 - Feat: top-level warning in vite mode #5447
- Chore: fix types of
plugin-auth
#5328
v1.18.6
v2.6.4
Feat: support reslove mjs and mts files #5300
Fix: compatible with folder which has parentheses and spaces #5299
Fix: resolve process/browser with fully specified path for esm package #5293
Fix: generate default html when SSG #5296
Chore: upgrade dependencies version includes (webpack@5.72.0 / css-loader@6.7.1 / caniuse-lite@1.0.30001332 / etc.) ice-lab/builder-deps#25
v2.6.3
v2.6.2
v2.6.1
v2.6.0
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