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: 3 months 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T16:23:27.000Z (9 months ago)
- Last Synced: 2024-10-24T22:29:03.654Z (9 months ago)
- Topics: properties, properties-loader, webpack-loader
- Language: TypeScript
- Homepage:
- Size: 986 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Properties to JSON webpack loader
[](https://www.npmjs.com/package/properties-json-loader)
[](https://travis-ci.org/aquariuslt/properties-json-loader)
[](https://github.com/aquariuslt/properties-json-loader)
[](https://codecov.io/gh/aquariuslt/properties-json-loader)
[](https://github.com/aquariuslt/properties-json-loader/issues)
[](https://github.com/aquariuslt/properties-json-loader/blob/master/LICENSE)
[](https://david-dm.org/aquariuslt/properties-json-loader)
[](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)