drop.chapril.org-firefoxsend/build
2018-11-02 16:33:16 -07:00
..
android_index_plugin.js wip on using shared ui in android 2018-11-02 16:33:16 -07:00
fluent_loader.js Use FluentResource to parse and serialize FTL files server-side (#952) 2018-09-27 11:49:41 -07:00
generate_asset_map.js don't set cache header on serviceWorker.js 2018-07-12 20:48:07 -07:00
generate_l10n_map.js updated docs 2018-03-07 15:01:08 -08:00
readme.md updated to webpack 4 2018-07-12 13:16:02 -07:00
version_plugin.js Hook up the android kotlin code to the send js code (#860) 2018-07-27 09:11:46 -04:00

Custom Loaders

Fluent Loader

The fluent loader "compiles" .ftl files into .js files directly usable by both the frontend and server for localization.

Generate Asset Map

This loader enumerates all the files in assets/ so that common/assets.js can provide mappings from the source filename to the hashed filename used on the site.

Generate L10N Map

This loader enumerates all the ftl files in public/locales so that the fluent loader can create it's js files.

Version Plugin

Creates a version.json file that gets exposed by the /__version__ route from the package.json file and current git commit hash.

See Also