The `lib` pattern should be `'lib/**/*.js'` so it matches all files.