This guide targets migration of the
po2mo.json
configuration to the latest version.
Breaking Changes:
{
"files": [
{
"input": "./input.po",
"output": "./output.mo"
}
]
}
{
"tasks": [
{
"input": "./input.po",
"output": "./output.mo"
}
]
}
Drop the *
wildcard to match all PO files inside a directory.
{
"files": [
{
"input": "./locale/ko/*",
"output": "./locale/ko/*"
}
]
}
{
"tasks": [
{
"input": "./locale/ko"
}
]
}
Set recursive
to true
to match all PO files recursively.
{
"files": [
{
"input": "./locale/**/*",
"output": "./locale/**/*"
}
]
}
{
"tasks": [
{
"input": "./locale",
"recursive": true
}
]
}