From 90a1b28d080097a12109b44b47f11f175e392db8 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 28 May 2020 01:26:14 -0500 Subject: [PATCH] import instead of require --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index fb25cfb..84484e1 100644 --- a/lib/main.js +++ b/lib/main.js @@ -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()