Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bugszhou/mini-entry

解析小程序json文件
https://github.com/bugszhou/mini-entry

Last synced: 1 day ago
JSON representation

解析小程序json文件

Awesome Lists containing this project

README

        

# mini-entry

解析小程序 json 文件

## Usage

```javascript
import getEntry from "mini-entry";

const entry = getEntry({
entry: {
app: "src/app.json",
outside: "src/outside/**/*/app.json",
},
entrySuffix: {
js: "ts",
miniJs: "wxs",
xml: "wxml",
},
compiledSuffix: {
js: "js",
css: "wxss",
miniJs: "wxs",
xml: "wxml",
},
});

console.log(entry);
```