Skip to content

Commit 72463eb

Browse files
committed
docs: Remove old 'parserOpts' option in favor of simpler 'types' option.
1 parent e2c683a commit 72463eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@css-blocks/jsx/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Possible options are:
9191
| Option | Default | Description |
9292
|:--|:--|:--|
9393
| **baseDir** | `process.cwd()` | The root directory from which all sources are relative. |
94-
| **parserOptions** | [Defaults](https://github.com/linkedin/css-blocks/blob/b5ad979/packages/@css-blocks/jsx/src/options.ts#L7) | Options for the Babel parser used to generate the JSX AST. |
94+
| **types** | "none" | Which JavaScript typing language to enable. Options are: "typescript", "flow" or "none" |
9595
| **aliases** | `{}` | Resolution aliases used for Block files. If no file is found at the exact path specified, the Block importer will attempt to resolve using these path aliases. |
9696
| **compilationOptions** | {} | Provide custom compilation options to [@css-blocks/core](../core#options). |
9797

0 commit comments

Comments
 (0)