Просмотр исходного кода

feat: rename font output file to dist

yukendev 2 лет назад
Родитель
Сommit
ace5138967

+ 1 - 1
apps/app/src/components/FontFamily/use-growi-custom-icon.tsx

@@ -3,7 +3,7 @@ import localFont from 'next/font/local';
 import { DefineStyle } from './types';
 
 const growiCustomIconFont = localFont({
-  src: '../../../../../packages/apps-font-icons/font/growi-custom-icon.woff2',
+  src: '../../../../../packages/apps-font-icons/dist/growi-custom-icon.woff2',
 });
 
 export const useGrowiCustomIcon: DefineStyle = () => (

+ 1 - 1
packages/apps-font-icons/.gitignore

@@ -1 +1 @@
-/font
+/dist

+ 2 - 1
packages/apps-font-icons/.svgtofontrc

@@ -3,5 +3,6 @@
   "css": false,
   "outSVGReact": false,
   "useNameAsUnicode": true,
-  "className": "growi-custom-icon"
+  "className": "growi-custom-icon",
+  "dist": "dist"
 }