format-message-loader
Write i18n messages inline. Transpile translations with webpack.
a webpack loader for format-message
install
$ npm install format-message-loader --save-dev
api
formatMessage
in your webpack.config.js
These are the same as options that are passed to formatMessage.setup()
See format-message for more information
moduleexports = "en" "pt" "de" ;
in your js file:
var formatMessage =
License
This software is free to use under the MIT license. See the LICENSE-MIT file for license text and copyright information.