`js-sdk`建议附带一个未压缩的开发版,方便调试。
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 是否关联于某个问题吗:
建议`js-sdk`输出一个未压缩版本,方便开发时调试。
#### 预期的解决方案:
`js-sdk`编译出一个`production`版本一个`development`版本
#### 其他可接受方案:
无
#### 任何附加信息:
有这个需求的可以暂时自己修改`fis-conf.js` `publish-sdk` 环境的配置,自己编译一版。
```js
publishSDKEnv.match('*.{js,jsx,ts,tsx}', {
// optimizer: fis.plugin('terser'),
optimizer: null,
moduleId: function (m, path) {
return fis.util.md5(package.version + 'amis-sdk' + path);
}
});
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in fis-conf.js at the publishSDKEnv configuration linked in the issue, then inspect the js-sdk build entry points and existing output commands. The work is complete when the build produces distinct production and development SDK artifacts, with the development artifact remaining uncompressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100