这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
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
10 changes: 6 additions & 4 deletions boilerplate/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { ExpoConfig, ConfigContext } from "@expo/config"

/**
* Use ts-node here so we can use TypeScript for our Config Plugins
* and not have to compile them to JavaScript
* Use tsx/cjs here so we can use TypeScript for our Config Plugins
* and not have to compile them to JavaScript.
*
* See https://docs.expo.dev/config-plugins/plugins/#add-typescript-support-and-convert-to-dynamic-app-config
*/
require("ts-node/register")
import "tsx/cjs"

/**
* @param config ExpoConfig coming from the static config app.json if it exists
Expand Down Expand Up @@ -34,6 +36,6 @@ module.exports = ({ config }: ConfigContext): Partial<ExpoConfig> => {
],
},
},
plugins: [...existingPlugins, require("./plugins/withSplashScreen").withSplashScreen],
plugins: [...existingPlugins],
}
}
2 changes: 1 addition & 1 deletion boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"reactotron-react-native": "^5.0.5",
"reactotron-react-native-mmkv": "^0.2.6",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsx": "^4.20.3",
"typescript": "~5.9.2"
},
"engines": {
Expand Down
69 changes: 0 additions & 69 deletions boilerplate/plugins/withSplashScreen.ts

This file was deleted.

2 changes: 0 additions & 2 deletions docs/boilerplate/Boilerplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ your-project
├── ignite
│   └── templates
├── ios
├── plugins
│   └── withSplashScreen.ts
├── test
│   ├── i18n.test.ts
│   ├── mockFile.ts
Expand Down
15 changes: 0 additions & 15 deletions docs/boilerplate/plugins/withSplashScreen.md

This file was deleted.