Added lax option to app:build

Signed-off-by: Heather Lee <heatherl@splunk.com>
This commit is contained in:
Heather Lee
2021-04-28 17:21:26 -07:00
parent 8ed8d01ac3
commit 54ef04e72a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ export default async (cmd: Command) => {
...(await loadCliConfig({
args: cmd.config,
fromPackage: name,
mockEnv: cmd.lax,
})),
});
};
+1
View File
@@ -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)));