mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
feat(cli): add VANT_CLI_VERSION env
This commit is contained in:
@@ -17,6 +17,8 @@ import { commitLint } from './commands/commit-lint';
|
||||
|
||||
version(`@vant/cli ${packageJson.version}`);
|
||||
|
||||
process.env.VANT_CLI_VERSION = packageJson.version;
|
||||
|
||||
command('dev')
|
||||
.description('Run webpack dev server')
|
||||
.action(dev);
|
||||
|
Reference in New Issue
Block a user