File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
1617Options can be passed to Babel in a variety of ways. When passed directly to Babel,
1718you 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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments