diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 1761a29f..6b30c977 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.3", + "version": "2.0.4", "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 88ff2bb1..b86307d6 100644 --- a/plugins/babel-plugin-canyon/src/index.ts +++ b/plugins/babel-plugin-canyon/src/index.ts @@ -43,9 +43,12 @@ export default declare((api, config, dirname) => { } }, //可配置代理 默认false special: true, //默认false - keepMap: true, // 默认false + keepMap: true, // 默认true + } + :{ + provider: 'gitlab', + keepMap: true, } - :{} config = { ...preset, ...trim(config),