mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +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}`);
|
version(`@vant/cli ${packageJson.version}`);
|
||||||
|
|
||||||
|
process.env.VANT_CLI_VERSION = packageJson.version;
|
||||||
|
|
||||||
command('dev')
|
command('dev')
|
||||||
.description('Run webpack dev server')
|
.description('Run webpack dev server')
|
||||||
.action(dev);
|
.action(dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user