webpack-spud-loader
v1.0.8
Published
loads kraken properties files into json
Downloads
2
Readme
webpack-spud-loader
install
npm -i webpack-spud-loader
usage
module.exports = {
module: {
rules: [{
test: /\.properties$/,
use: [
'json-loader',
'webpack-spud-loader'
]
}]
}
}
what it does
transforms kraken properties files into json strings using spud
, use other webpack loaders to transform or dynamically load things like locale.
input
strings.properties
baz=foo
foo.bar=foo
output
module.exports = {"baz":"foo","foo":{"bar":"foo"}}