@web/dev-server-storybook
Version:
Dev server plugin for using storybook with es modules.
18 lines • 469 B
JavaScript
import commandLineArgs from 'command-line-args';
export function readCommandLineArgs() {
return commandLineArgs([
{
name: 'config-dir',
alias: 'c',
type: String,
defaultValue: './.storybook',
},
{
name: 'output-dir',
alias: 'o',
type: String,
defaultValue: 'storybook-static',
},
]);
}
//# sourceMappingURL=readCommandLineArgs.js.map