Skip to content

Webpack loader that allows import of .properties files to your Webpack-managed bundles.

Notifications You must be signed in to change notification settings

io-german/java-properties-flat-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Quick start

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!"

Version history

1.1.0

  • Removed unnecessary dependancies

1.0.0

  • Added almost complete support of .properties file format (thanks to the properties module)

0.1.1

  • Added this document

About

Webpack loader that allows import of .properties files to your Webpack-managed bundles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published