Skip to content

Releases: jshcrowthe/gulp-wc-i18n

1.2.0 - Extend Regex to allow for more BCP-47 compliant names

13 Feb 17:11
24779b3

Choose a tag to compare

Add wc-i18n v2 support

10 Oct 03:35

Choose a tag to compare

This allows users of wc-i18n#2.0.0 (or greater) to inline locales using gulp-wc-i18n.

This functionality is opt in only, to do so, pass a config object with the version prop set to 2 to gulp-wc-i18n

Example

var gulp = require('gulp');
var wcI18n = require('gulp-wc-i18n');

gulp.task('webcomponent:i18n', function() {
  return gulp.src('**/*.html')
    .pipe(wcI18n({
      version: 2
    }))
    .pipe(gulp.dest('./dist'));
});

Initial Release

17 Feb 05:22

Choose a tag to compare

This is the initial functional release of gulp-wc-i18n.