File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 33
44import Prism from 'prismjs'
55import hljs from 'highlight.js'
6- import PDFObject from 'pdfobject'
6+ import * as PDFObject from 'pdfobject'
77import { saveAs } from 'file-saver'
88
99import escapeHTML from 'lodash/escape'
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ import '@hackmd/ot/lib/undo-manager'
102102// import '@hackmd/ot/lib/client'
103103import '@hackmd/ot/lib/editor-client'
104104
105- import mousewhell from 'jquery-mousewheel'
105+ import * as mousewhell from 'jquery-mousewheel'
106106import '@vendor/jquery-textcomplete/jquery.textcomplete'
107107import '@vendor/jquery-ui/jquery-ui.min.js'
108108import '@vendor/bootstrap/tooltip.min.js'
Original file line number Diff line number Diff line change @@ -159,11 +159,6 @@ export default defineConfig({
159159 'list.js' ,
160160 '@hackmd/idle-js' ,
161161 'spin.js'
162- // Explicitly include the OT files being imported
163- // '@hackmd/ot/lib/client.js',
164- // '@hackmd/ot/lib/editor-client.js',
165- // '@hackmd/ot/lib/socketio-adapter.js',
166- // '@hackmd/ot/lib/codemirror-adapter.js'
167162 ]
168163 } ,
169164 server : {
You can’t perform that action at this time.
0 commit comments