diff --git a/.github/workflows/publish-babel-plugin-canyon.yml b/.github/workflows/publish-babel-plugin-canyon.yml index 0926f457..011e6857 100644 --- a/.github/workflows/publish-babel-plugin-canyon.yml +++ b/.github/workflows/publish-babel-plugin-canyon.yml @@ -21,6 +21,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} - run: | - pnpm dist-tag add babel-plugin-canyon@2.0.4 latest + pnpm dist-tag add babel-plugin-canyon@2.0.5 latest env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 6b30c977..093d5942 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "2.0.4", + "version": "2.0.5", "description": "", "scripts": { "release": "babel src --extensions \".ts\" --out-dir lib", diff --git a/plugins/babel-plugin-canyon/src/index.ts b/plugins/babel-plugin-canyon/src/index.ts index b86307d6..fa2c3d62 100644 --- a/plugins/babel-plugin-canyon/src/index.ts +++ b/plugins/babel-plugin-canyon/src/index.ts @@ -44,10 +44,12 @@ export default declare((api, config, dirname) => { }, //可配置代理 默认false special: true, //默认false keepMap: true, // 默认true + slug:'auto' } :{ provider: 'gitlab', keepMap: true, + slug:'auto' } config = { ...preset,