updated 配置调整

This commit is contained in:
zhenghaole 2024-11-11 09:46:19 +08:00
parent ba1838d28c
commit 2b9a5ec284
6 changed files with 10 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -44,6 +44,11 @@
"bugs": {
"url": "https://github.com/mumuy/relationship/issues"
},
"engines": {
"node": ">=20",
"yarn": "please-use-npm",
"npm": ">=8"
},
"files": [
"dist"
],

View File

@ -1,7 +1,7 @@
import resolve from '@rollup/plugin-node-resolve'; // 使用node_modules包
import terser from '@rollup/plugin-terser'; // 代码压缩
import babel from '@rollup/plugin-babel'; // ECMAScript兼容
import pkg from './package.json' assert { type:'json' }; // 获取package信息
import pkg from './package.json' with { type:'json' }; // 获取package信息
// 版权信息
const repository = pkg.repository.url.replace(/(.+)(:\/\/.+)\.git$/,'https$2');