import { buildTree, compileTreeIntoIfs } from "./compiler/compiler.mjs" let paths = [ 'test1', 'test', 'test3', 'test5', 'something', 'sometimes', 'else', 'goes', 'here', 'too', ] let tree = buildTree(paths) const ifTree = compileTreeIntoIfs(tree) console.log(ifTree.toString())