rocketmq-clients
rocketmq-clients copied to clipboard
[Feature] 支持打包
Programming Language of the Client
Node.js
Is Your Feature Request Related to a Problem?
想要打包可运行只能修改源码
Describe the Solution You'd Like
src/util/index.ts 21 行
import { crc32 } from '@node-rs/crc32'; 请采用纯JS库.
文件 src/client/UserAgent.ts 23 行
const VERSION: string = JSON.parse(readFileSync(path.join(__dirname, '../../package.json'), 'utf-8')).version; 这行完全无法打包, 请采用其他方式实现.
Describe Alternatives You've Considered
现在只能修改源码才能解决
Additional Context
No response