Skip to content

Commit

Permalink
preactjsGH-591 fix(sw-src-load): add swPath option into watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
Kencana Kesuma committed Jul 16, 2020
1 parent cbdff0d commit 3571171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ prog
.option('--esm', 'Builds ES-2015 bundles for your code.', false)
.option('--clear', 'Clear the console', true)
.option('--sw', 'Generate and attach a Service Worker', undefined)
.option('--swPath', 'Specify service worker file location, default is root', '/')
.option('--babelConfig', 'Specify the babel config file', '.babelrc')
.option('--rhl', '(Deprecated) use --refresh instead', false)
.option('--json', 'Generate build stats for bundle analysis')
Expand Down

0 comments on commit 3571171

Please sign in to comment.