Open alveshelio opened 5 years ago
@alveshelio thanks for using the plugin, when there is only one entry in the pattern ,could you please remove the {} brackets, like shown below and give a try?
Change this,
"groupBy": [
{
"pattern": "{./src/components/app/i18n/app-fr.json}",
"fileName": "./src/i18n/app-fr.json"
}
to
"groupBy": [
{
"pattern": "./src/components/app/i18n/app-fr.json",
"fileName": "./src/i18n/app-fr.json"
},
Please let me know if the issue still persists
Hi @tettusud
Thank you for the quick follow up.
I've made the changes you suggested but it's still not generating the output
@alveshelio can you try relative path or src not ./src can you give one more try please ?
Confirm your "webpack-dev-server" version is "^3.1.10" or later,and add "devServer: { writeToDisk: true }," to webpack.config.js。devServer.writeToDisk
Hi,
I've created a project with a custom webpack and using Typescript and I'm trying to merge i18n json files into a single one but it is not generating any output.
Here's my Webpack 4 file
Here's the plugin debug output
Am I doing something wrong?
Thank you for your time and effort you put into this plugin.