Skip to content

Commit 09ea03a

Browse files
committed
added doc for Include ignored files
1 parent 30c01bb commit 09ea03a

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

docs/options.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ id: options
1212
- [Code Generator options](#code-generator-options)
1313
- [AMD / UMD / SystemJS options](#amd-umd-systemjs-module-options)
1414
- [Option concepts](#options-concepts)
15+
- [CLI options](#cli-options)
1516

1617
Options can be passed to Babel in a variety of ways. When passed directly to Babel,
1718
you can just pass the objects object. When Babel is used via a wrapper, it may also be
@@ -838,5 +839,14 @@ Here are some examples, when applied in a plugin context:
838839
| `"@scope/mod/plugin"` | `"@scope/mod/plugin"`
839840
| `"module:foo"` | `"foo"` |
840841

842+
## CLI options
843+
844+
### Copy ignored files
845+
846+
Include ignored files when copying non-compilable files.
847+
848+
```sh
849+
npx babel src --out-dir lib --ignore "src/**/*.spec.js" --copy-ignored
850+
```
841851

842852

scripts/download-sponsors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fetch(graphqlEndpoint, {
3939
.then(res => res.data.account.orders.nodes)
4040
.then(nodes =>
4141
nodes.map(node => ({
42-
tier: node.tier.slug,
42+
// tier: node.tier.slug,
4343
name: node.fromAccount.name,
4444
slug: node.fromAccount.slug,
4545
website: node.fromAccount.website,

0 commit comments

Comments
 (0)