use Webpack code-splitting to dynamically import Highlight.js languages as they are detected by Showdown Markdown extension

This commit is contained in:
Alec Merdler 2017-08-01 13:28:24 -04:00
parent 8dc2a99926
commit 41c12c853c
9 changed files with 70 additions and 33 deletions

3
static/js/types/custom.d.ts vendored Normal file
View file

@ -0,0 +1,3 @@
declare var System: {
import: (module: string) => Promise<any>;
};