properties-json-loader
v2.3.0
Published
webpack properties-to-json loader based on properties
Downloads
531
Maintainers
Readme
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