@mbler/mcx-core 0.1.2-rc.11 → 0.1.2-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13535,7 +13535,10 @@ var McxAst = class McxAst {
|
|
|
13535
13535
|
this.includeComments = includeComments;
|
|
13536
13536
|
}
|
|
13537
13537
|
parseAST() {
|
|
13538
|
-
const ast = (0, import_compiler_core.baseParse)(this.text, {
|
|
13538
|
+
const ast = (0, import_compiler_core.baseParse)(this.text, {
|
|
13539
|
+
comments: true,
|
|
13540
|
+
whitespace: "preserve"
|
|
13541
|
+
});
|
|
13539
13542
|
const result = [];
|
|
13540
13543
|
for (const child of ast.children) {
|
|
13541
13544
|
const node = this.convertTemplateChild(child);
|