zeropack icon indicating copy to clipboard operation
zeropack copied to clipboard

App build

Open treshugart opened this issue 7 years ago • 0 comments

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": {

    }
}

treshugart avatar May 10 '18 01:05 treshugart