fix build

This commit is contained in:
2022-10-24 15:38:17 +08:00
parent f06d03c799
commit 971f673b0a

View File

@@ -2,16 +2,16 @@ version: 0.1
phases: phases:
install: install:
commands: commands:
- touch .npmignore - 'touch .npmignore'
- npm install -g gatsby - 'npm install -g gatsby'
pre_build: pre_build:
commands: commands:
- npm install - 'npm install'
build: build:
commands: commands:
- npm run build - 'npm run build'
artifacts: artifacts:
base-directory: public base-directory: public
files: files:
- **/* - '**/*'
discard-paths: yes discard-paths: yes