Skip to content

Commit 6e04100

Browse files
committed
WIP: Maybe fix the font bundle issue
Not super important since it'll be completely rejigged within the rebrand anyway, but nice to tidy up for now.
1 parent 8c640c3 commit 6e04100

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

automation/webpack.common.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ export default <Webpack.Configuration>{
170170
{ family: "Fira Mono" },
171171
{ family: "Lato" }
172172
],
173+
path: '.',
173174
formats: ['woff2'], // Supported by Chrome, FF, Edge, Safari 12+
174175
filename: 'fonts.css',
175176
apiUrl: 'https://gwfh.mranftl.com/api/fonts'

automation/webpack.prod.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ export default merge(common, {
9393
// issues? This helps protect against possible corruptions:
9494
const manifest = originalManifest.map((entry: any) => {
9595
console.log(entry.url);
96-
if (entry.url.includes('woff2')) {
97-
console.log('[Skipping]');
98-
return entry;
99-
}
10096

10197
const asset = compilation.getAsset(entry.url);
10298
const assetSource = asset.source.source();

0 commit comments

Comments
 (0)