Closed alexis-exaud closed 10 months ago
I'm getting this error: Module '"i18next-parser"' has no exported member 'gulp'.
Module '"i18next-parser"' has no exported member 'gulp'.
From this code that is literally copy-pasted from the documentation:
import { gulp as i18nextParser } from 'i18next-parser' gulp.task('i18next', function () { gulp .src('app/**') .pipe( new i18nextParser({ locales: ['en', 'de'], output: 'locales/$LOCALE/$NAMESPACE.json', }) ) .pipe(gulp.dest('./')) })
Also, in gulp.task() and gulp.src(), gulp is undefined.
gulp.task()
gulp.src()
gulp
I can't use the package if the documentation for the setup is wrong and/or lacking key info...
@alexis-exaud have you found a way to import parsers?
Documentation issue
I'm getting this error:
Module '"i18next-parser"' has no exported member 'gulp'.
From this code that is literally copy-pasted from the documentation:
Also, in
gulp.task()
andgulp.src()
,gulp
is undefined.Motivation
I can't use the package if the documentation for the setup is wrong and/or lacking key info...