Skip to content

Instantly share code, notes, and snippets.

@sshymko
Created August 27, 2020 06:06
Show Gist options
  • Save sshymko/c86f3caafc857f6f8d92b1dd60d3e877 to your computer and use it in GitHub Desktop.
Save sshymko/c86f3caafc857f6f8d92b1dd60d3e877 to your computer and use it in GitHub Desktop.
AWS CodeBuild specification for single-page application (SPA) managed by NPM
version: 0.2
phases:
install:
runtime-versions:
nodejs: 12
build:
commands:
- npm install
- npm run build -- --mode=production
artifacts:
base-directory: 'dist'
files:
- '**/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment