ClarkXia
ClarkXia
- [x] Do not compile routes config before server compile. - [x] Support separate bundle for render document. Close #6857
### Summary | 概述 _No response_ ### Motivation | 背景 The framework currently utilizes webpack-dev-server's default error overlay to display when errors occur. However, this default mechanism is often insufficient...
### Summary | 概述 _No response_ ### Motivation | 背景 During development, the framework logs only the shortest page URL, which may not facilitate convenient access to other pages. To...
### Summary | 概述 _No response_ ### Motivation | 背景 The framework will analyze all route components and retrieve the pageConfigexport, regardless of whether the application is configured as SPA....
### Summary | 概述 _No response_ ### Motivation | 背景 When formatted as CommonJS (CJS), the server bundle will encompass all pages, leading to an increased bundle size as the...
### Summary | 概述 _No response_ ### Motivation | 背景 Use @ice/runtime as an umd module. ### Usage example | 使用示例 _No response_ ### Detailed design | 方案设计 Build a...
### 需求背景 icestark 推荐用build-scripts框架来启动微模块,然后被icestark微模块使用。 微模块加载器通过加载 http://${url}/index.js 来加载微模块资源 大部分情况下,在线上或者预发环境 想直接调试和开发本地代码。 由于当前build-plugin-component 打包出来umd是 dist 文件目录,但不会启动服务,服务被占用了demo. 建议另外启动一个dist文件的server,譬如:http://127.0.0.1:3334/
目前如果需要输出 umd 文件,需要配置 library,期望可以默认输出 > library 默认使用 package.json 中的 name
## 原因 dts [编译配置中](https://github.com/ice-lab/iceworks-cli/blob/master/packages/build-plugin-component/src/compiler/dts.js#L12) 未设置 `noEmitOnError` 从而导致类型不匹配的情况下未抛错。 ## 修复方案 1. watch 阶段为了实时调试体验,依旧不开启 `noEmitOnError` 2. build 阶段开启 `noEmitOnError`,并且定向获取 tsConfig.json 针对类型的设置