https://github.com/onface/webpack.onface.live
https://github.com/onface/webpack.onface.live
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onface/webpack.onface.live
- Owner: onface
- License: other
- Created: 2018-05-09T05:24:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T12:59:20.000Z (about 7 years ago)
- Last Synced: 2025-02-17T09:43:10.824Z (3 months ago)
- Language: JavaScript
- Size: 309 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
**Note:** this project is no longer maintained, but has been made public since people online have expressed interest. Pull requests will not be accepted and no support will be provided, but you are welcome to fork the project if it is useful to you. In many cases you will be better off just using https://codesandbox.io :)
---
# pkgzip
Bundles your npm packages via webpack into a single JS file. Runs on AWS Lambda.
## Usage
```html
```
## API
The following URL parameters are accepted:
### `packages`
A required comma-separated list of public npm package names.
Each package name can optionally be suffixed with `@version`, where `version` is any [semver](http://semver.org)-compliant version range.
### `flags`
A optional comma-separated list of values from the following options:
* `minify`: enables minification of returned JavaScript
* `dedupe`: enabled de-duplication of modules used more than once## Development
To get started simply yarn install
```bash
git clone [email protected]:atlassian/pkgzip.git
yarn install # if you need yarn: npm install -g yarn
```To run a `pkgzip` server locally you can use
```bash
npm run offline
# now go to http://localhost:3000/dev/?react
```