Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mater1996/mpx-web-ts-error

mpx-web-ts-error
https://github.com/mater1996/mpx-web-ts-error

Last synced: about 1 month ago
JSON representation

mpx-web-ts-error

Awesome Lists containing this project

README

        

# mpx-ts-test

> A mpx project

## Dev

```bash
# install dep
npm i

# for dev
npm run watch

# for online
npm run build
```

npm script规范 [build|watch]:[dev|prod]:[cross|web|none]

build默认prod,watch默认dev。另单独提供了build:dev和watch:prod,用于单次构建分析看未压缩代码分析问题和持续压缩代码便于大体积项目真机调试。

建议自行调整cross的目标。npm-run-all是为了兼容windows下无法同时执行两个npm script,若不需要转web平台,可考虑去掉。