Summary: Currently icons were always fetched remotely. We used a service worker to prefetch and cache some icons, that were critical to the UI. In this diff, we are bundling icons at build time, with the app. In utils/icons.js we still specfify the list of icons which should be bundled. These are downloaded as part of the build step and bundled with the app. We are downloading the icons in 1x and 2x (the two most common pixel densities). Reviewed By: jknoxville Differential Revision: D16620764 fbshipit-source-id: 965a7793ad1f08aebb292606add00218429cdaf4
19 lines
411 B
JSON
19 lines
411 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "system",
|
|
"lib": ["es7", "dom"],
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"outFile": "../../built/local/tsc.js",
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"flipper": ["./src/index.js"]
|
|
}
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "**/*.spec.ts"]
|
|
}
|