feat(nebula-build-core): add docs and help info (#659)

This commit is contained in:
Li Kang
2021-09-01 16:10:02 +02:00
committed by GitHub
parent 4811d14296
commit 210b672678
2 changed files with 6 additions and 0 deletions

View File

@@ -23,4 +23,5 @@ Options:
--sourcemap, -m Generate source map [boolean] [default: true]
--mode Explicitly set mode
[string] [choices: "production", "development"]
--core Set a core build target [string] [default: "core"]
```

View File

@@ -28,6 +28,11 @@ const options = {
type: 'string',
default: undefined,
},
core: {
description: 'Set a core build target',
type: 'string',
default: 'core',
},
};
module.exports = (yargs) => {