Skip to content

Commit 5208055

Browse files
Mod template: require annotations by default on mixin overwrites (#134)
1 parent 40e99b9 commit 5208055

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/src/lib/template/mixin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ export async function generateMixin(writer: TemplateWriter, options: ComputedCon
2121
],
2222
"injectors": {
2323
"defaultRequire": 1
24+
},
25+
"overwrites": {
26+
"requireAnnotations": true
2427
}
2528
};
2629

@@ -73,4 +76,4 @@ export async function generateClientMixin(writer: TemplateWriter, options: Compu
7376
"environment": "client"
7477
}
7578
];
76-
}
79+
}

0 commit comments

Comments
 (0)