mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-04-19 06:55:30 -04:00
add types for fonts imported by webpack
This commit is contained in:
Vendored
+1
@@ -1,2 +1,3 @@
|
||||
export * from "./note";
|
||||
export * from "./repository";
|
||||
export * from "./webpack";
|
||||
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// support webfonts statically imported by webpack via custom config in next.config.js:
|
||||
|
||||
declare module "*.woff" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.woff2" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
Reference in New Issue
Block a user