Skip to content

Commit a1c6852

Browse files
committed
Fix webpack prod build on Windows
For some reason, building the fonts into a subdirectory breaks the integrity transform in the workbox plugin, which fails the build, but only on Windows. Presumably something to do with path formats? Regardless, we're changing the font setup soon, and this solves it for the short term without consequence, so let's fix it in the easiest possible way.
1 parent b97c335 commit a1c6852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
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'

0 commit comments

Comments
 (0)