You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
435 B
11 lines
435 B
import { Rule } from 'webpack';
|
|
/**
|
|
* Create a `Webpack.Rule` for loading fonts and including Expo vector icons.
|
|
* Fonts will be loaded to `./fonts/[name].[ext]`.
|
|
*
|
|
* @param projectRoot root project folder.
|
|
* @param includeModule method for resolving a node module given its package name.
|
|
* @category loaders
|
|
*/
|
|
export default function createFontLoader(projectRoot: string, includeModule: (...props: string[]) => string): Rule;
|