diff --git a/.github/workflows/deploy-client-docs.yml b/.github/workflows/deploy-client-docs.yml index 780b48031d..b823e22722 100644 --- a/.github/workflows/deploy-client-docs.yml +++ b/.github/workflows/deploy-client-docs.yml @@ -44,7 +44,7 @@ jobs: echo "::set-output name=tags::pr-${{ github.event.pull_request.number }}" fi - name: copy files via ssh - ${{ steps.set-tags.outputs.tags }} - uses: appleboy/scp-action@v0.1.4 + uses: appleboy/scp-action@v0.1.7 with: host: ${{ secrets.CN_CLIENT_HOST }} username: ${{ secrets.CN_CLIENT_USERNAME }} diff --git a/packages/core/client/.dumirc.ts b/packages/core/client/.dumirc.ts index 5b10693cdd..1debccd479 100644 --- a/packages/core/client/.dumirc.ts +++ b/packages/core/client/.dumirc.ts @@ -26,6 +26,9 @@ export default defineConfig({ { type: 'component', dir: 'src/schema-component/antd' }, ], }, + jsMinifierOptions: { + target: ['chrome80', 'es2020'], + }, locales: lang === 'zh-CN' ? [{ id: 'zh-CN', name: '中文' },] : [{ id: 'en-US', name: 'English' }], themeConfig: defineThemeConfig({ title: 'NocoBase',