Closed sstenchlak closed 2 years ago
@sstenchlak Is this resolved by the PR?
Not yet. I'm implementing it next week.
Sorry for the inactivity. Reimplementing a build mechanism of the core library will resolve this issue.
This issue is finally resolved in 47f9b75fe662c075b7748a476e393d2f37a6bacd by implementing custom transpiler compatible with Jest transformers. SPARQL queries are optimized, converted to functions and saved as .js files alongside tsc transpiled files.
The goal is to implement a Webpack loader for
*.sparql
files that minimizes and transforms them into a parametrized function replacing the template variables inside them.