Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bugszhou/mini-entry
解析小程序json文件
https://github.com/bugszhou/mini-entry
Last synced: 1 day ago
JSON representation
解析小程序json文件
- Host: GitHub
- URL: https://github.com/bugszhou/mini-entry
- Owner: bugszhou
- Created: 2021-04-20T08:20:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T02:39:51.000Z (about 1 year ago)
- Last Synced: 2025-01-15T21:45:16.998Z (10 days ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
```