Miss any of our Open RFC calls?Watch the recordings here! »

properties-json-loader

2.2.1 • 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

Install

npm i properties-json-loader

DownloadsWeekly Downloads

230

Version

2.2.1

License

MIT

Unpacked Size

6.36 kB

Total Files

6

Last publish

Collaborators

  • avatar