Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

✨ add ios config plugin #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ Make your expo apps start faster by loading fonts at build time

`expo-font` load fonts at runtime. This increases the startup time

### iOS ⚠️

Currently it only works on Android. PRs for adding iOS support are welcome

### Installation ⚙️

```bash
Expand All @@ -20,7 +16,12 @@ Add to your plugins on `app.json`
```json
{
"name": "my app",
"plugins": ["with-expo-fonts"]
"plugins": [[
"with-expo-fonts",
{
path: "./assets/fonts",
},
]]
}
```

Expand Down
5 changes: 4 additions & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export { default } from "./withExpoFonts";
import { ConfigPlugin } from "@expo/config-plugins";
import { PluginConfigType } from "./pluginConfigType";
declare const _default: ConfigPlugin<PluginConfigType>;
export default _default;
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion build/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions build/pluginConfigType.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface PluginConfigType {
path: string;
}
//# sourceMappingURL=pluginConfigType.d.ts.map
1 change: 1 addition & 0 deletions build/pluginConfigType.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions build/pluginConfigType.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/pluginConfigType.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions build/withAndroidExpoFonts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { ConfigPlugin } from "@expo/config-plugins";
import { PluginConfigType } from "./pluginConfigType";
export declare const withAndroidExpoFonts: ConfigPlugin<PluginConfigType>;
//# sourceMappingURL=withAndroidExpoFonts.d.ts.map
1 change: 1 addition & 0 deletions build/withAndroidExpoFonts.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions build/withAndroidExpoFonts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/withAndroidExpoFonts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions build/withInfoPlistExpoFonts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { ConfigPlugin } from "expo/config-plugins";
import { PluginConfigType } from "./pluginConfigType";
export declare const withInfoPlistExpoFonts: ConfigPlugin<PluginConfigType>;
//# sourceMappingURL=withInfoPlistExpoFonts.d.ts.map
1 change: 1 addition & 0 deletions build/withInfoPlistExpoFonts.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions build/withInfoPlistExpoFonts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/withInfoPlistExpoFonts.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions build/withXcodeProjectExpoFonts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { ConfigPlugin } from "@expo/config-plugins";
import { PluginConfigType } from "./pluginConfigType";
export declare const withXcodeProjectExpoFonts: ConfigPlugin<PluginConfigType>;
//# sourceMappingURL=withXcodeProjectExpoFonts.d.ts.map
1 change: 1 addition & 0 deletions build/withXcodeProjectExpoFonts.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions build/withXcodeProjectExpoFonts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading