summaryrefslogtreecommitdiff
path: root/packages/astro-parser/src/parse/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro-parser/src/parse/index.ts')
-rw-r--r--packages/astro-parser/src/parse/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/astro-parser/src/parse/index.ts b/packages/astro-parser/src/parse/index.ts
index 7edb6235c..5718a2c74 100644
--- a/packages/astro-parser/src/parse/index.ts
+++ b/packages/astro-parser/src/parse/index.ts
@@ -29,6 +29,7 @@ export class Parser {
js: Script[] = [];
meta_tags = {};
last_auto_closed_tag?: LastAutoClosedTag;
+ feature_flags: 0
constructor(template: string, options: ParserOptions) {
if (typeof template !== 'string') {
@@ -266,5 +267,8 @@ export default function parse(template: string, options: ParserOptions = {}): As
css: parser.css[0],
// instance: instance_scripts[0],
module: astro_scripts[0],
+ meta: {
+ features: parser.feature_flags
+ }
};
}