mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
This allows using ES6 syntax in our code, while maintaining backwards compatibility for the generated file.
10 lines
268 B
Makefile
10 lines
268 B
Makefile
.PHONY: build
|
|
|
|
build: $(BUILDDIR)/contrib/auto-render.min.js
|
|
|
|
$(BUILDDIR)/contrib/auto-render.min.js: $(BUILDDIR)/auto-render.js
|
|
$(UGLIFYJS) < $< > $@
|
|
|
|
$(BUILDDIR)/auto-render.js: auto-render.js
|
|
$(BROWSERIFY) -t [ babelify ] $< --standalone renderMathInElement > $@
|