1.0.8 • Published 8 years ago
webpack-spud-loader v1.0.8
webpack-spud-loader
install
npm -i webpack-spud-loaderusage
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=foooutput
module.exports = {"baz":"foo","foo":{"bar":"foo"}}1.0.8
8 years ago