Exclude css files when build type definitions in plugins

Signed-off-by: Taras <tarasm@gmail.com>
This commit is contained in:
Taras
2022-04-26 13:18:15 -04:00
parent 271bb4cea0
commit cf48bb8600
+1
View File
@@ -154,6 +154,7 @@ export async function makeRollupConfigs(
file: resolvePath(distDir, 'index.d.ts'),
format: 'es',
},
external: [/\.css$/],
onwarn,
plugins: [dts()],
});