properties-json-loader
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

Properties to JSON webpack loader

NPM Build Status Github Workflow Status Codecov GitHub issues GitHub license Dependencies Status semantic-release

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

Dependencies (5)

Dev Dependencies (18)

Package Sidebar

Install

npm i properties-json-loader

Weekly Downloads

18

Version

2.3.0

License

MIT

Unpacked Size

7.46 kB

Total Files

8

Last publish

Collaborators

  • aquariuslt