You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {boolean} [removeComments=false] - Remove comments from the processed contents.
69
+
* @property {boolean} [forceRemoveComments=false] - Force remove comments even when srcPath === outputPath, strips comments directly in updatedContents.
69
70
* @property {string} [srcPath] - The source path.
70
71
* @property {string} [outputPath] - The output path.
71
72
* @property {import('comment-block-parser').CustomPatterns} [customPatterns] - Custom regex patterns for open and close tags.
@@ -103,6 +104,7 @@ async function blockTransformer(inputText, config) {
103
104
beforeMiddleware =[],
104
105
afterMiddleware =[],
105
106
removeComments =false,
107
+
forceRemoveComments =false,
106
108
customPatterns
107
109
}=opts
108
110
// Don't default close - let undefined pass through to enable pattern mode in block-parser
@@ -285,15 +287,19 @@ async function blockTransformer(inputText, config) {
0 commit comments