From e4b80451afdbef90648890e06cfb5007b950e895 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Wed, 17 Feb 2021 09:24:28 +0300 Subject: [PATCH] fix: import parser, close #61 --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index a3d68b7..99c89a4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -3,7 +3,7 @@ const fs = require('fs'); const path = require('path'); const posthtml = require('posthtml'); -const parser = require('posthtml-parser'); +const parser = require('posthtml-parser').default; const {match} = require('posthtml/lib/api'); const expressions = require('posthtml-expressions');