fix(core): do not need to inline fonts (#11880)
The fonts are always loaded via url thus it is not needed to have fonts inlined. Inlining fonts will increase the size of bundled files.
This commit is contained in:
@@ -202,7 +202,7 @@ export function createHTMLTargetConfig(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(ttf|eot|woff|woff2)$/,
|
test: /\.(ttf|eot|woff|woff2)$/,
|
||||||
type: IN_CI ? 'asset/inline' : 'asset/resource',
|
type: 'asset/resource',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.txt$/,
|
test: /\.txt$/,
|
||||||
|
|||||||
Reference in New Issue
Block a user