This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### To use tiktoken wasm in react for better performance. Hope it saves someone time due to poorly written guides. | |
| ### Follow this: | |
| **This is for webpack 5. In weppack config override add. You can directly use wasm from js cdn as well. Skip this step if you want to use cdn.** | |
| ``` | |
| module.exports = (config, env) => { | |
| config.experiments = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { withAndroidManifest } = require('@expo/config-plugins'); | |
| /** | |
| Usage: | |
| 1. Create a dir named plugins at root of project where app.json is located | |
| 1. Add this file to your project (eg: ./plugins/modifyAndroidManifestAttributes.js) | |
| 2. In app.json use add this under expo attribute: | |
| "expo"{ | |
| ..., |