0.5.6 • Published 2 years ago

@squareball/cfnassets v0.5.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@squareball/cfnassets

Build asset zip packages for deployment.

Quick Start

You need an assets config file:

// cfnassets.config.json
{
  "api": {
    "type": "rollup",
    "options": {
      "entrypoint": "./core/lib/api/lambda.js",
      "install": ["source-map-support"],
      "packageFilePath": "package.json",
      "packageInstallImage": "node:16-slim",
      "packageLockPath": "package-lock.json"
    }
  },
  "app-client": {
    "type": "content",
    "options": {
      "source": "apps/client/build"
    }
  }
}

Then run:

cfnassets build --config cfnassets.config.json

Work In Progress 🚧

This project has been hacked off the codebase of another project, and is currently missing documentation.

We Can Do It!

Help wanted 😁