The .pegjs files total ~1.45MB and are all loaded upfront. I would guess that most users (like myself) only use one SQL dialect in their project, so loading only that specific parser would significantly reduce their browser's download time (nm, I see that's what the separate <dialect>.umd.js files are for) or their Node.js process' startup time.
The
.pegjsfiles total ~1.45MB and are all loaded upfront. I would guess that most users (like myself) only use one SQL dialect in their project, so loading only that specific parser would significantly reducetheir browser's download time(nm, I see that's what the separate<dialect>.umd.jsfiles are for) or their Node.js process' startup time.