start generating client-side bundle. WIP

This commit is contained in:
Rich Harris
2017-12-11 13:08:25 -05:00
parent ad8a410ba4
commit a22e28a11f
9 changed files with 4990 additions and 39 deletions

View File

@@ -30,6 +30,7 @@ module.exports = function create_matchers(files) {
return {
file,
pattern,
test,
exec,
parts,
@@ -41,12 +42,5 @@ module.exports = function create_matchers(files) {
(a.dynamic.length - b.dynamic.length) || // match static paths first
(b.parts.length - a.parts.length) // match longer paths first
);
})
.map(matcher => {
return {
file: matcher.file,
test: matcher.test,
exec: matcher.exec
}
});
}