Files
browser-scripts-builder/readme.md
2022-06-09 12:04:29 -05:00

50 lines
944 B
Markdown

# browser-scripts-builder
builder for [browser-scripts](https://git.zomo.dev/zomo/browser-scripts)
## Source File Structure
```text
Root
├───<package.json/etc>
└───scripts
└───[each script folder]
├───<tsconfig.json>
├───<other files for main.ts>
├───main.ts
└───meta.json (optional)
```
## Dist File Structure
```text
Root
├───<package.json/etc>
└───dist
└───[each script folder].user.js
```
if there is an error compiling a file, an `error.log` will be placed inside the source folder:
```text
Root
├───<package.json/etc>
└───scripts
└───[each script folder]
└───error.log
```
## Command Line Options
```text
--watch
alias: -w
automatically recompile on save
--minify
alias: -m
minify output files
--prettier
alias: -p
prettify output files
```