Skip to content

Commit 81e190d

Browse files
authored
CLDR-18356 st: unvendor fonts (#4507)
1 parent 2cbc7bc commit 81e190d

12 files changed

+26
-240
lines changed

tools/cldr-apps/js/package-lock.json

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

tools/cldr-apps/js/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@
4343
"dependencies": {
4444
"@datadog/browser-logs": "^5.4.0",
4545
"@datadog/browser-rum": "^5.4.0",
46+
"@fontsource/noto-serif-np-hmong": "^5.2.5",
4647
"ant-design-vue": "^3.2.16",
4748
"browser-fs-access": "^0.35.0",
49+
"glyphicons-only-bootstrap": "^1.0.1",
4850
"marked": "^4.3.0",
4951
"swagger-client": "^3.26.7",
5052
"vue": "^3.2.47",

tools/cldr-apps/js/src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import * as cldrGui from "./esm/cldrGui.mjs";
1616
import * as cldrVue from "./esm/cldrVue.mjs";
1717
import * as cldrMonitoring from "./esm/cldrMonitoring.mjs";
1818

19+
// fonts (see surveytool.css)
20+
import "@fontsource/noto-serif-np-hmong";
21+
import "glyphicons-only-bootstrap/css/bootstrap.min.css";
22+
1923
// kick off the top level monitoring
2024
cldrMonitoring.init();
2125

tools/cldr-apps/js/webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ module.exports = (env, argv) => {
5555
test: /\.md$/,
5656
type: 'asset/source',
5757
},
58+
{
59+
test: /\.(woff|woff2|eot|ttf|otf|svg)($|\?)/i,
60+
type: 'asset/resource',
61+
},
5862
],
5963
},
6064
resolve: {

tools/cldr-apps/src/main/webapp/fonts/LICENSE-Noto.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
-12 KB
Binary file not shown.
-14.5 KB
Binary file not shown.
-19.9 KB
Binary file not shown.

tools/cldr-apps/src/main/webapp/fonts/glyphicons-halflings-regular.svg

Lines changed: 0 additions & 229 deletions
This file was deleted.
-40.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)