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:
@@ -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()],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user