Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 769 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 769 Bytes

Standalone Babel/Webpack/React Demo using NPM modules

Relevant package dependences:

fbt (runtime)
babel-plugin-fbt
babel-plugin-fbt-runtime

  • yarn install to pull in dependencies down
  • yarn manifest to generate enum and source manifests
  • yarn collect-fbts to collect FBT translatable texts
  • yarn translate-split to generate split translation dictionaries (in src/dict) from translation_input.json
  • yarn build to generate static files in ./output/.
    • The commands above are required to run this step
  • yarn start to run a local server with hot reloading.
  • yarn test to run unit tests.