diff --git a/index.js b/index.js index 06c0a2c..fab6480 100755 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ 'use strict'; -const parser = require('posthtml-parser'); +const parser = require('posthtml-parser').default; const render = require('posthtml-render'); function contentTree(treeObj, applyOpt, compatibility, library) {