mark certain libs as external to prevent them from being included in the types

This commit is contained in:
Jacob Overgaard
2023-03-13 13:57:10 +01:00
parent 6dc4c32e6b
commit 6449656ba3

View File

@@ -17,11 +17,11 @@ export default [
},
{
input: 'index.ts',
external: [/^@umbraco-cms\//],
external: [/^@umbraco-cms\//, /^lit/, /^rxjs/],
output: {
file: './dist/index.d.ts',
format: 'es'
},
plugins: [dts()],
plugins: [dts({ respectExternal: true })],
}
];