SYNG6002 - Loader syntax error
Domain: cli
Severity: USER
A loader configuration has invalid syntax.
The loader configuration in your config file or command-line argument has syntax errors.
Solution
Check your loader syntax. Loaders should specify:
pattern: A glob pattern to match filessyntax: The language to use for matched files
Example in TOML config:
toml
[[loaders]]
pattern = "*.jsx"
syntax = "tsx"Example on command line:
bash
syng --loader '*.jsx:tsx' '(call)' ./src