Added lax option to app:build
Signed-off-by: Heather Lee <heatherl@splunk.com>
This commit is contained in:
@@ -30,6 +30,7 @@ export default async (cmd: Command) => {
|
||||
...(await loadCliConfig({
|
||||
args: cmd.config,
|
||||
fromPackage: name,
|
||||
mockEnv: cmd.lax,
|
||||
})),
|
||||
});
|
||||
};
|
||||
|
||||
@@ -29,6 +29,7 @@ export function registerCommands(program: CommanderStatic) {
|
||||
.command('app:build')
|
||||
.description('Build an app for a production release')
|
||||
.option('--stats', 'Write bundle stats to output directory')
|
||||
.option('--lax', 'Do not require environment variables to be set')
|
||||
.option(...configOption)
|
||||
.action(lazy(() => import('./app/build').then(m => m.default)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user