mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Include babelify step in browserify calls
This allows using ES6 syntax in our code, while maintaining backwards compatibility for the generated file.
This commit is contained in:
committed by
Kevin Barabash
parent
549104c5a8
commit
9b565a6375
@@ -6,4 +6,4 @@ $(BUILDDIR)/contrib/auto-render.min.js: $(BUILDDIR)/auto-render.js
|
||||
$(UGLIFYJS) < $< > $@
|
||||
|
||||
$(BUILDDIR)/auto-render.js: auto-render.js
|
||||
$(BROWSERIFY) $< --standalone renderMathInElement > $@
|
||||
$(BROWSERIFY) -t [ babelify ] $< --standalone renderMathInElement > $@
|
||||
|
Reference in New Issue
Block a user