antd-tools
antd-tools copied to clipboard
how to publish a beta version with antd-tools cmd
// Argument tag if (argv['npm-tag']) { tagString = argv['npm-tag']; }
tagString is undefined.
when i command npm run pub npm-tag=beta , argv['npm-tag'] is undefined
.antd-tools.config.js
module.exports = { compile: { finalize: finalizeCompile, }, dist: { finalize: finalizeDist, }, generateThemeFileContent, tag: 'beta', };