Skip to content

Commit f206a5b

Browse files
committed
TODO
1 parent e95b0cd commit f206a5b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/plugin.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ModuleConfig {
1818
export: string;
1919
allowTemplateLiteral?: true;
2020
enableScope?: true;
21-
rfc931Support?: 'polyfilled';
21+
rfc931Support?: 'polyfilled' | 'native';
2222
}
2323

2424
const INLINE_PRECOMPILE_MODULES: ModuleConfig[] = [
@@ -632,6 +632,11 @@ function updateCallForm<EnvSpecificOptions>(
632632
//
633633
target = target.get('arguments.0') as NodePath<t.CallExpression>;
634634
}
635+
636+
if (formatOptions.rfc931Support === 'native') {
637+
// TODO: implement template()
638+
}
639+
635640
// We deliberately do updateScope at the end so that when it updates
636641
// references, those references will point to the accurate paths in the
637642
// final AST.

0 commit comments

Comments
 (0)