An open API service indexing awesome lists of open source software.

https://github.com/topthinking/combine-ts


https://github.com/topthinking/combine-ts

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# 测试TS依赖合并

查看`index.ts`、`index.js`这两个文件

> 如果是TS项目,那么需要做如下设置

**`tsconfig.json`需要制定待注入的库名称**

```json
{
"compilerOptions": {
"types": ["node", "@xmly/award-plugin-dva"]
}
}
```

## 运行

```sh
# TypeScript引用
npm run ts

# es5引用
npm run es
```