diff --git a/.npmignore b/.npmignore index 4eecc4a..62c1262 100644 --- a/.npmignore +++ b/.npmignore @@ -3,3 +3,4 @@ scripts src package.backup.json .gitignore +docs diff --git a/README.md b/README.md index aafdcc1..5e64d2b 100644 --- a/README.md +++ b/README.md @@ -173,12 +173,12 @@ npm i --save-dev gulp-esm-to-cjs ``` js // gulpfile.js -const esm-to-cjs = require("gulp-esm-to-cjs"); +const esmToCjs = require("gulp-esm-to-cjs"); function convert() { return gulp .src(src) - .pipe(esm-to-cjs(options)) + .pipe(esmToCjs(options)) .pipe(gulp.dest(dest)); } module.exports.convert = convert; diff --git a/docs/index.html b/docs/index.html index f28858e..f047067 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,7 +19,7 @@