Releases: alibaba/ice
Releases · alibaba/ice
v3.4.2
- Feat: refactor
plugin-rax-compat
including, support option inlineStyle in SSR and inline style for both less and scss - Feat: support optimize package import, it reduce compile time if barrel files is imported (only in speedup mode) #6736
- Fix: register with new defaultTaskConfig evey time #6726 @AlbertXiao1994
- Fix: server render result is not updated when using on-demand server #6738
- Fix: can not resolve path of regenerator-runtime #6742
- Fix: the conflict compile options caused by
.swcrc
#6746 - Fix: pass the correct request context to data loader #6747
- Fix(@ice/plugin-unocss): always add the preset of uno for plugin #6744
v3.4.1
- Deal with assets when pre bundle third-party dependencies #6688
- Fix unstable_Offscreen to unstable_Activity for React experiment API changed #6694
- Optimize compile Rules for build performance #6719
- Support data loader when use speedup mode #6727
- Fix build error when disable code splitting #6727
- Fix pack error when using component of fusion #6727
v3.4.0
Improve the build speed by implement customize Rspack plugins and loaders by Rust. The build speed and HMR has been significantly improved in speedup mode. PR #6680
- Bump rspack/core to 0.4.3
- Replace native binding with
@ice/pack-binding
which is based on Rspack - Pre-bundle rspack bundler to override the implementation options
v3.3.9
-
Feat: support plugin of Unocss #6665
Install
@ice/plugin-unocss
:$ npm install @ice/plugin-unocss --save-dev
Configure it in
ice.config.mts
:import { defineConfig } from '@ice/app'; import Unocss from '@ice/plugin-unocss'; export default defineConfig(() => ({ plugins: [ Unocss(), ] }));
Plugin has a default preset
@unocss/preset-uno
for UnoCSS. -
Feat: add default export of rax-compat #6643
-
Fix: better error handling of build script #6672
-
Chore: remove type exports #6651
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
- Compat with document file has extension of js, jsx #6545
- Deal with json file when use on-demand compile #6548
- Add typesVersions for
@ice/app
export fields support #6544 - Update route config even if dataLoader is not defined #6552
- Fix get flatten routes which nested level more than 3 #6555
- Unnecessary to parse search query in FC #6572
- Add type definition of runApp #6554
- Return render root in case of plugin may depend on it #6571
- Compat with Win32 when configure themePackage of plugin fusion #6565
- Export createElement of react in @ice/runtime #6562
- Support plugin API of
configureWebpack
in speedup mode #6564 - Fix user compilation config lost when use plugin-rax-compat #6568
v3.3.3
- Support config css modules name by user config #6289
import { defineConfig } from '@ice/app';
export default defineConfig(() => ({
cssModules: {
localIdentName: '[hash:8]',
},
}));
- New plugin deal with stream error, it will fallback to CSR automatically when steam error #6530
import { defineConfig } from '@ice/app';
import streamError from '@ice/plugin-stream-error';
export default defineConfig(() => ({
plugins: [
streamError(),
],
}));
- Compat with the build case which do not need document #6536