I want to exclude file paths that have capsize
anywhere in the path in node or javascript but I am failing to get the syntax right.
const re = /.*((?!capsize).*)\.css\.ts/;
console.log(re.test('src/packages/graph.css.ts')) // should be true
console.log(re.test('packages/vanilla-extract/capsize.css.ts')) // should be false