mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(cli): add VANT_CLI_VERSION env
This commit is contained in:
parent
7878f72f30
commit
377f4375d7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user