Open loginov-rocks opened 5 years ago
Made a straightforward function FYI: https://github.com/loginov-rocks/locales-bundler/blob/master/src/localesBundler.js#L15-L42
@loginov-rocks apologies, I was little away from this repo, I will check this .By the way thanks for dropping the suggestion
@loginov-rocks , a new package 0.0.19 was published, is that something that could help you?
Hello!
Is it possible to do like so:
Your application structure:
After using the above
gulpfile.js
:The
en.json
file will look like this:So you can obtain values using dot notation,
catalog.catalogItem.headline
for example.Gulp example: https://github.com/loginov-rocks/gulp-locales-bundler/blob/master/src/gulpLocalesBundler.js