Skip to content

An output pattern isn't valid

error: the output "dist/[a" at line 2, column 12 of axle.toml isn't a valid pattern: unclosed character class; missing ']'
hint: Write the pattern as a glob, such as dist/** or !dist/**/*.map.

A pattern under a task’s outputs in axle.toml can’t be read as a glob, for example because a [ or { is never closed. A broken pattern under inputs has its own page.

Fix the pattern at that line and column. Patterns are relative to the package’s folder, or to the repository root after {root}/, and a ! in front leaves files out. The glob patterns page shows what each symbol means.