diff options
author | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-03 05:41:25 +0300 |
---|---|---|
committer | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-03 05:41:25 +0300 |
commit | f21ce36ff1b511262f456914a582e82e8423bcb0 (patch) | |
tree | 2687d148b396fb2c3fb34aece85ba48568bca933 | |
parent | de3c5bb8643c562d0beefb019be1eb1dedec0e40 (diff) |
Fix highlight.js for upgrade to 10.x in 040ed455416b0c3a184b09a15cc28ce337095b5e
-rwxr-xr-x | src/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js index ae8e6d8..96e524d 100755 --- a/src/js/index.js +++ b/src/js/index.js @@ -5,7 +5,7 @@ import { sep } from 'path'; // Import only the used highlights from highlight.js (saves about 1MB) // import hljs from 'highlight.js'; -import hljs from 'highlight.js/lib/highlight'; +import hljs from 'highlight.js/lib/core'; import apache from 'highlight.js/lib/languages/apache'; import go from 'highlight.js/lib/languages/go'; import ini from 'highlight.js/lib/languages/ini'; |