diff --git a/packages/sirv/index.js b/packages/sirv/index.js index b2fb42f..9e4093c 100644 --- a/packages/sirv/index.js +++ b/packages/sirv/index.js @@ -127,7 +127,7 @@ export default function (dir, opts={}) { let ignores = []; if (opts.ignores !== false) { - ignores.push(/\w\.\w+$/); // any extn + ignores.push(/[/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/); // any extn if (opts.dotfiles) ignores.push(/\/\.\w/); else ignores.push(/\/\.well-known/); [].concat(opts.ignores || []).forEach(x => {