Add fix-compatibility npm command

This commit is contained in:
MengYX
2020-03-04 08:43:23 +08:00
parent 37c60caa06
commit e78118b4d0
3 changed files with 11 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ steps:
- name: build
image: node:lts
commands:
- npm run fix-compatibility
- npm run build
- tar -czf legacy.tar.gz -C ./dist .
- npm run build -- --modern