Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aquariuslt/properties-json-loader
A webpack-loader based on properties.
https://github.com/aquariuslt/properties-json-loader
properties properties-loader webpack-loader
Last synced: 24 days ago
JSON representation
A webpack-loader based on properties.
- Host: GitHub
- URL: https://github.com/aquariuslt/properties-json-loader
- Owner: aquariuslt
- License: mit
- Created: 2018-09-04T10:43:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T03:58:06.000Z (about 2 months ago)
- Last Synced: 2024-09-14T16:32:29.412Z (about 2 months ago)
- Topics: properties, properties-loader, webpack-loader
- Language: TypeScript
- Homepage:
- Size: 1.25 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Properties to JSON webpack loader
[![NPM](https://img.shields.io/npm/v/properties-json-loader.svg)](https://www.npmjs.com/package/properties-json-loader)
[![Build Status](https://travis-ci.org/aquariuslt/properties-json-loader.svg?branch=master)](https://travis-ci.org/aquariuslt/properties-json-loader)
[![Github Workflow Status](https://github.com/aquariuslt/properties-json-loader/workflows/ci/badge.svg)](https://github.com/aquariuslt/properties-json-loader)
[![Codecov](https://codecov.io/gh/aquariuslt/properties-json-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/aquariuslt/properties-json-loader)
[![GitHub issues](https://img.shields.io/github/issues/aquariuslt/properties-json-loader.svg)](https://github.com/aquariuslt/properties-json-loader/issues)
[![GitHub license](https://img.shields.io/github/license/aquariuslt/properties-json-loader.svg)](https://github.com/aquariuslt/properties-json-loader/blob/master/LICENSE)
[![Dependencies Status](https://david-dm.org/aquariuslt/properties-json-loader.svg)](https://david-dm.org/aquariuslt/properties-json-loader)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)## Introduction
A webpack-loader based on [properties](https://www.npmjs.com/package/properties) .
Support all options in properties.
## Usage
### Install
```shell script
npm install properties-json-loader
```### Webpack Configuration
Use properties parse [Options](https://github.com/gagle/node-properties#options) as loader options.
Then will return parsed properties json object.
```javascript
module.exports = {
// ...
module: {
rules: [
// ...
{
test: /\.properties$/,
loader: 'properties-json-loader',
// use `properties` options
options: {
namespaces: true
// ...
}
}
]
}
}
```## Releases & ChangeLog
See [Release Notes](https://github.com/aquariuslt/properties-json-loader/releases)