From 10f31efefa6f20291f5997400b4912d51e9f2961 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Sat, 16 Oct 2021 10:28:51 -0400 Subject: [PATCH] fix comment parser --- custom-elements-manifest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-elements-manifest.config.js b/custom-elements-manifest.config.js index 1d6286446..2e80c2cbb 100644 --- a/custom-elements-manifest.config.js +++ b/custom-elements-manifest.config.js @@ -1,5 +1,5 @@ import fs from 'fs'; -import commentParser from 'comment-parser'; +import { parse } from 'comment-parser'; const packageData = JSON.parse(fs.readFileSync('./package.json', 'utf8')); const { name, description, version, author, homepage, license } = packageData; @@ -38,7 +38,7 @@ export default { }); }); - const parsed = commentParser.parse(customComments + '\n */'); + const parsed = parse(customComments + '\n */'); parsed[0].tags?.map(t => { switch (t.tag) { // Animations