cli: Add option --shared

pull/1649/head
pk 7 years ago
parent 51c2cddd90
commit 7f870dae95

@ -49,7 +49,8 @@ export function compile(input, opts) {
immutable: opts.immutable,
generate: opts.generate || 'dom',
customElement: opts.customElement,
store: opts.store
store: opts.store,
shared: opts.shared
};
if (isDir) {

@ -16,6 +16,7 @@ prog
.option('--generate', 'Change generate format between `dom` and `ssr`')
.option('--no-css', `Don't include CSS (useful with SSR)`)
.option('--immutable', 'Support immutable data structures')
.option('--shared', 'Don\'t include shared helpers')
.example('compile App.html > App.js')
.example('compile src -o dest')

Loading…
Cancel
Save