@htmlplus/element 0.8.1 → 0.8.2
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.
|
@@ -333,7 +333,8 @@ export const customElement = (options) => {
|
|
|
333
333
|
}
|
|
334
334
|
export type ${context.className}Element = globalThis.${componentInterfaceName}
|
|
335
335
|
`, {
|
|
336
|
-
plugins: ['typescript']
|
|
336
|
+
plugins: ['typescript'],
|
|
337
|
+
preserveComments: true
|
|
337
338
|
});
|
|
338
339
|
path.node.body.push(...ast);
|
|
339
340
|
}
|