From dc9866dcb40e64fc71e753e3ec8eea13ee913e3c Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 19 Apr 2023 11:54:52 +0300 Subject: [PATCH] fix: parser: comment --- packages/parser/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/parser/index.js b/packages/parser/index.js index 0dc2255..aef44ef 100644 --- a/packages/parser/index.js +++ b/packages/parser/index.js @@ -17,6 +17,7 @@ const createParse = (parser) => (source) => { ecmaVersion: 'latest', sourceType: 'module', locations: true, + comment: true, }; const result = parser.parse(source, options);