From de7ed24b361b250c79cb5070f1f8e788947327a0 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Fri, 9 Aug 2019 18:40:19 +0430 Subject: [PATCH] feat(cli): export options (#6206) Co-Authored-By: Kevin Marrec [release] --- packages/cli/src/index.js | 2 ++ packages/cli/src/options/index.js | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/cli/src/index.js b/packages/cli/src/index.js index 751c601f11..45ccf9e97c 100644 --- a/packages/cli/src/index.js +++ b/packages/cli/src/index.js @@ -1,8 +1,10 @@ import * as _commands from './commands' import * as _imports from './imports' +import * as _options from './options' export const commands = _commands export const imports = _imports +export const options = _options export { default as NuxtCommand } from './command' export { default as setup } from './setup' diff --git a/packages/cli/src/options/index.js b/packages/cli/src/options/index.js index 21ddcaeca2..1d2420967e 100644 --- a/packages/cli/src/options/index.js +++ b/packages/cli/src/options/index.js @@ -1,3 +1,9 @@ -export { default as common } from './common' -export { default as server } from './server' -export { default as locking } from './locking' +import common from './common' +import server from './server' +import locking from './locking' + +export { + common, + server, + locking +}