We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95b0cd commit f206a5bCopy full SHA for f206a5b
src/plugin.ts
@@ -18,7 +18,7 @@ interface ModuleConfig {
18
export: string;
19
allowTemplateLiteral?: true;
20
enableScope?: true;
21
- rfc931Support?: 'polyfilled';
+ rfc931Support?: 'polyfilled' | 'native';
22
}
23
24
const INLINE_PRECOMPILE_MODULES: ModuleConfig[] = [
@@ -632,6 +632,11 @@ function updateCallForm<EnvSpecificOptions>(
632
//
633
target = target.get('arguments.0') as NodePath<t.CallExpression>;
634
635
+
636
+ if (formatOptions.rfc931Support === 'native') {
637
+ // TODO: implement template()
638
+ }
639
640
// We deliberately do updateScope at the end so that when it updates
641
// references, those references will point to the accurate paths in the
642
// final AST.
0 commit comments