@fluentui/react-icons-font-subsetting-webpack-plugin 2.0.335 → 2.0.337

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -44,8 +44,9 @@ const FONT_EXTENSIONS = ['.ttf', '.woff', '.woff2'];
44
44
  * - lib/fonts/sizedIcons/chunk-0.js (chunk-based, standard)
45
45
  * - lib/atoms/fonts/access-time.js (atomic imports, standard)
46
46
  * - lib/atoms/headless-fonts/access-time.js (atomic imports, headless)
47
+ * - lib-cjs/atoms/fonts/access-time.cjs (CommonJS output)
47
48
  */
48
- const REACT_ICONS_FONT_MODULE_IMPORT_PATTERN = /react-icons[\/\\]lib(-cjs)?[\/\\](fonts[\/\\](sizedIcons|icons)[\/\\]chunk-\d+|atoms[\/\\](headless-)?fonts[\/\\][\w-]+)\.js$/;
49
+ const REACT_ICONS_FONT_MODULE_IMPORT_PATTERN = /react-icons[\/\\]lib(-cjs)?[\/\\](fonts[\/\\](sizedIcons|icons)[\/\\]chunk-\d+|atoms[\/\\](headless-)?fonts[\/\\][\w-]+)\.c?js$/;
49
50
  class FluentUIReactIconsFontSubsettingPlugin {
50
51
  /**
51
52
  * Entry point for the Webpack plugin that registers hooks to perform font subsetting for `@fluentui/react-icons`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-icons-font-subsetting-webpack-plugin",
3
- "version": "2.0.335",
3
+ "version": "2.0.337",
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": {