zeropack
zeropack copied to clipboard
App build
Useful for:
- Standalone app
- Examples for a package
- Docs
- etc.
Notes from a conversation with @jedwatson regarding package configuration:
{
...pkg,
"zeropack": {
"name": "Select",
"src": "src",
"app": {
"./docs/index.js": "./dist/docs/index.js",
"context": "docs",
"entry": "./app/index.js",
"output": "docs/dist"
},
"source": "index.js",
"alias": {
"react-select": "src/index"
},
"copy": ["_redirects", "favicon.ico", "index.css"],
"devServer": {
}
"devtool": {
}
}