This loader enables to require Java .properties files to your webpack-driven application. Keys are treated as plain strings.
Example:
messages_en.properties
label.landing.title = Hello!
Consider this code:
var messages = require(./messages_en.properties);
console.log('Title message is "' + messages['label.landing.title'] + '"');
It will result with this log message:
Title message is "Hello!"
- Removed unnecessary dependancies
- Added almost complete support of .properties file format (thanks to the properties module)
- Added this document