Browse Source

Merge pull request #85 from Victorystick/cli-use-strict

Add `--strict/--no-strict` CLI option.
contingency-plan
Rich Harris 9 years ago
parent
commit
ca2949bdc4
  1. 2
      bin/help.md
  2. 4
      bin/rollup

2
bin/help.md

@ -16,7 +16,7 @@ Basic options:
-n, --name Name for UMD export
-u, --id ID for AMD module (default is anonymous)
-m, --sourcemap Generate sourcemap (`-m inline` for inline map)
--no-strict Don't emit a `"use strict";` in the generated modules.
Examples:

4
bin/rollup

@ -5,6 +5,10 @@ var minimist = require( 'minimist' ),
command = minimist( process.argv.slice( 2 ), {
alias: {
// Aliases
strict: 'useStrict',
// Short options
e: 'external',
f: 'format',
g: 'globals',

Loading…
Cancel
Save