Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agentcooper/parcel-plugin-static-zip
https://github.com/agentcooper/parcel-plugin-static-zip
browserfs parcel parcel-plugin zip
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agentcooper/parcel-plugin-static-zip
- Owner: agentcooper
- License: mit
- Archived: true
- Created: 2018-10-20T13:26:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T14:31:14.000Z (over 6 years ago)
- Last Synced: 2024-11-14T07:03:11.255Z (2 months ago)
- Topics: browserfs, parcel, parcel-plugin, zip
- Language: JavaScript
- Homepage: https://agentcooper.github.io/parcel-plugin-static-zip/
- Size: 3.4 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-parcel - Static ZIP - Provide archived local directory in the static build. Useful for BrowserFS. (Plugins / Other)
README
# parcel-plugin-static-zip
https://agentcooper.github.io/parcel-plugin-static-zip/
Provide archived local directory in the static build. Useful for [BrowserFS](https://github.com/jvilk/BrowserFS).
## Install
```
npm install parcel-plugin-static-zip --save-dev
```## How to use
Add config to your `package.json`:
```
"parcel-plugin-static-zip": {
"self.zip": {
"glob": "**",
"options": {
"cwd": "../../",
"ignore": [
"**/node_modules/**",
"**/dist/**"
]
}
}
},
````options` are [node-glob options](https://github.com/isaacs/node-glob#options).
Whenever Parcel builds the project, `self.zip` will be available in the `dist`.