Skip to content

Commit

Permalink
fix comment parser
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Oct 16, 2021
1 parent be662dd commit 10f31ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom-elements-manifest.config.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 10f31ef

Please sign in to comment.