Skip to content

Commit

Permalink
import instead of require
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 28, 2020
1 parent 62d8d4c commit 90a1b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'path'
let subs = null
let toolbar = null
let juliaClient = null
let HTMLPreviewView = require('./html-preview.js')
import HTMLPreviewView from './html-preview.js'

export function activate () {
subs = new CompositeDisposable()
Expand Down

0 comments on commit 90a1b28

Please sign in to comment.