github alibaba/ice @ice/app@3.2.10
v3.2.10

latest releases: @ice/rspack-config@1.1.9, @ice/app@3.4.11, @ice/plugin-stream-error@1.0.1...
13 months ago
  • Fix HMR failed when export pageConfig or dataLoader in page routes #6442
  • Compatible with Win32 when onDemand compiling is enabled #6466
  • Support define route with absolute path
import { defineConfig } from '@ice/app';

export default defineConfig({
  routes: {
    defineRoutes: (route) => {
      // Limitation: about.tsx should locate in root dir
      route('/hello', '/absolute/path/to/about.tsx');
    },
  },
});
  • Add exports of service for node API
// Support Node API for other build tools.
import createService from '@ice/app/service';
const service = createService({ rootDir: '', command: 'start', commadArgs: {} });
service.run();

Don't miss a new ice release

NewReleases is sending notifications on new releases.