Fix Webpack-imported modules

This commit is contained in:
Sebastian Serth
2022-08-12 02:44:19 +02:00
parent a5f59e139a
commit eb175b3b40
4 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* eslint no-console:0 */
// JS
import * as d3Tip from 'd3-tip'
import * as d3Tip from 'd3-tip/dist'
window.d3.tip = d3Tip;

View File

@ -1,7 +1,7 @@
/* eslint no-console:0 */
// JS
import * as hljs from 'highlight.js'
import hljs from 'highlight.js/lib/common'
window.hljs = hljs;
// CSS