@fluentui/react-icons-font-subsetting-webpack-plugin 2.0.344 → 2.0.346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -164,3 +164,14 @@ Note that this also binds every copy to a single React and Griffel instance.
|
|
|
164
164
|
|
|
165
165
|
Using ESM `import` and CommonJS `require()` from the same installation does not count as two copies.
|
|
166
166
|
Their used exports are combined, and each emitted font asset is subset once.
|
|
167
|
+
|
|
168
|
+
## Development Checks
|
|
169
|
+
|
|
170
|
+
Run `yarn nx run react-icons-font-subsetting-webpack-plugin:test` for unit, type,
|
|
171
|
+
and webpack/rspack integration coverage.
|
|
172
|
+
|
|
173
|
+
Run `yarn nx run react-icons-font-subsetting-webpack-plugin:test:render` for the
|
|
174
|
+
localized full/subset font browser check. It requires Playwright Chromium
|
|
175
|
+
(`yarn playwright install chromium`) and checks standard/headless rendering,
|
|
176
|
+
LTR/RTL contexts, and desktop/mobile viewports. Screenshots are written to
|
|
177
|
+
`tmp/localized-font-render` at the repository root.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-icons-font-subsetting-webpack-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.346",
|
|
4
4
|
"description": "Webpack plugin to subset the icon fonts used by @fluentui/react-icons based on which icons are used.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"test:types": "yarn run -T tsc -p test/tsconfig.conformance.json",
|
|
9
9
|
"test:webpack": "node test/run.js --bundler webpack",
|
|
10
10
|
"test:rspack": "node test/run.js --bundler rspack",
|
|
11
|
+
"test:render": "node test/check-localized-font-render.js",
|
|
11
12
|
"dev": "yarn run -T webpack serve -c test/webpack.config.js --open",
|
|
12
13
|
"build": "yarn run -T tsc -p .",
|
|
13
14
|
"lint": "yarn run -T eslint src package.json"
|