Skip to content

Commit ffb13e2

Browse files
committed
build: Update lato font package location
1 parent 5c1a2c8 commit ffb13e2

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@babel/core": "^7.17.0",
3737
"@babel/plugin-proposal-class-properties": "^7.16.5",
3838
"@babel/preset-env": "^7.16.5",
39+
"@fontsource/lato": "^5.1.1",
3940
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
4041
"babel-loader": "^9.0.1",
4142
"babel-plugin-istanbul": "^7.0.0",
@@ -91,7 +92,6 @@
9192
"tar": "^7.4.3",
9293
"terser-webpack-plugin": "^5.3.1",
9394
"touch-emulator": "^1.0.0",
94-
"typeface-lato": "^1.1.13",
9595
"webpack": "^5.68.0",
9696
"webpack-cli": "^5.0.0",
9797
"webpack-merge": "^6.0.1",

scripts/datastore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var tar = require('tar');
66

77
var registry = {
88
'AdderallCities2015.csv': 'c3e984482cc6db1193a6dca2a55396a2baad8541a5c8c679f33750b76f766f40a119ec3e63abbabcd095d752c3df8ce21bf24cbe629502121f24ba90b4b0674c',
9-
'base-images.tgz': '5e7b02080e2d73d1bac8083f85516ac9e3188354fdd9d669ea8c97e2bc5cdda1e54ed5010468b8c2a44a880cfe2df17fe11ad1ec5f4a25275e879d9cf291a915',
9+
'base-images.tgz': 'cd36e948a639daf4f684343270614902047954a1add9a1845dc426a3d422920e2c008117a07fe9a79be82539891f3c666e4782111cb835b82d9903d53a312441',
1010
'blue.jpg': '867b1f3c568289efc7d0dba97d827a2bc4d83a7465cebcb3b5aec7bac6a38cf70d037d1814402bc97ad1f2f6737cfb5ce97db0a4fb53a716e77fd3ba57a7ab3b',
1111
'cities.csv': '5a665e5feda24f28e5cf4ed0801b67e73bbcf3ea781b2e50d11284214e67b25b68e6a1c48da46e5e4d4d0c54c2ec18f88d292224b4541fb279396cf7b94beac9',
1212
'earthquakes.json': 'f098b6437411384b552419b4a36264c1bb3fed816ccfe9545145175e0b92a0b7ad5ebdcb9dddd0a12a90499143ffa471c02f6e049be5b973db607ff066892500',

webpack-examples.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ plugins.push(new WebpackStringReplacer({
2525
fileInclude: /bootstrap.css$/,
2626
replacements: [{
2727
pattern: /@import.*fonts.googleapis.com\/css\?family=Lato[^;]*;/g,
28-
replacement: () => '@import url(../../typeface-lato/index.css);'
28+
replacement: () => '@import url(../../@fontsource/lato/index.css);'
2929
}]
3030
}]
3131
}));

webpack-tutorials.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ plugins.push(new WebpackStringReplacer({
2525
fileInclude: /bootstrap.css$/,
2626
replacements: [{
2727
pattern: /@import.*fonts.googleapis.com\/css\?family=Lato[^;]*;/g,
28-
replacement: () => '@import url(../../typeface-lato/index.css);'
28+
replacement: () => '@import url(../../@fontsource/lato/index.css);'
2929
}]
3030
}]
3131
}));

0 commit comments

Comments
 (0)