Add other extensions that might be a problem based on

https://github.com/backstage/backstage/blob/master/packages/cli/asset-types/asset-types.d.ts
Signed-off-by: Taras <tarasm@gmail.com>
This commit is contained in:
Taras
2022-04-26 15:25:34 -04:00
parent 4d8736eded
commit a62cb70d1d
2 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -2,4 +2,5 @@
'@backstage/cli': patch
---
Changed Rollup configuration for TypeScript definition plugin to ignore css files.
Changed Rollup configuration for TypeScript definition plugin to ignore `css`,
`scss`, `sass`, `svg`, `eot`, `woff`, `woff2` and `ttf` files.
+10 -1
View File
@@ -154,7 +154,16 @@ export async function makeRollupConfigs(
file: resolvePath(distDir, 'index.d.ts'),
format: 'es',
},
external: [/\.css$/],
external: [
/\.css$/,
/\.scss$/,
/\.sass$/,
/\.svg$/,
/\.eot$/,
/\.woff$/,
/\.woff2$/,
/\.ttf$/,
],
onwarn,
plugins: [dts()],
});