A webpack-loader based on properties .
Support all options in properties.
npm install properties-json-loader
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
// ...
}
}
]
}
}
See Release Notes