properties-json-loader

A webpack-loader based on properties.

MIT License

Downloads
91
Stars
1

Properties to JSON webpack loader

Introduction

A webpack-loader based on properties .

Support all options in properties.

Usage

Install

npm install properties-json-loader

Webpack Configuration

Use properties parse Options as loader options.

Then will return parsed properties json object.

module.exports = {
  // ...
  module: {
    rules: [
      // ...
      {
        test: /\.properties$/,
          loader: 'properties-json-loader',
          // use `properties` options
          options: {
            namespaces: true
            // ... 
          }
      }
    ]
  }
}

Releases & ChangeLog

See Release Notes