diff --git a/automation/webpack.common.ts b/automation/webpack.common.ts index f3927df4..6a32b3ba 100644 --- a/automation/webpack.common.ts +++ b/automation/webpack.common.ts @@ -170,6 +170,7 @@ export default { { family: "Fira Mono" }, { family: "Lato" } ], + path: '.', formats: ['woff2'], // Supported by Chrome, FF, Edge, Safari 12+ filename: 'fonts.css', apiUrl: 'https://gwfh.mranftl.com/api/fonts' diff --git a/automation/webpack.prod.ts b/automation/webpack.prod.ts index 75079e74..0f378f70 100644 --- a/automation/webpack.prod.ts +++ b/automation/webpack.prod.ts @@ -93,10 +93,6 @@ export default merge(common, { // issues? This helps protect against possible corruptions: const manifest = originalManifest.map((entry: any) => { console.log(entry.url); - if (entry.url.includes('woff2')) { - console.log('[Skipping]'); - return entry; - } const asset = compilation.getAsset(entry.url); const assetSource = asset.source.source();