i18next.scanner.js 265B

12345678910
  1. const scanner = require('i18next-scanner')
  2. const vfs = require('vinyl-fs')
  3. const option = require('../i18next.option.js')
  4. vfs.src(['./src/**/*.jsx'])
  5. // .pipe(sort()) // Sort files in stream by path
  6. .pipe(scanner(option))
  7. .pipe(vfs.dest('./i18next.scanner'))