static-site-cn
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

static-site-cn

This is NPM package for static site on AWS China.

Services

  • S3
  • CloudFront
  • Route53

Install

npm i --save-dev static-site-cn

Use

import {StaticSiteCn} from "static-site-cn";

new StaticSiteCn(stack, "Web", {
    path: "web",
    customDomain: {
        domainName: "{domainName}",
        iamCertificateId: "{iamCertificateId}",
        hostedZone: "{hostedZone}",
    },
    buildCommand: "npm i && npm run build",
    buildOutput: "build",
    // ...
});

Readme

Keywords

none

Package Sidebar

Install

npm i static-site-cn

Weekly Downloads

2

Version

0.0.14

License

MIT

Unpacked Size

9.1 kB

Total Files

4

Last publish

Collaborators

  • elonniu