Fix variable name spelling

This commit is contained in:
Kevin MacMartin 2019-09-20 15:10:25 -04:00
parent 0e8e063f48
commit d96f37737a

12
gulpfile.js vendored
View file

@ -103,11 +103,11 @@ function processSass(filename) {
} }
// Process css // Process css
function processCSS(ouputFilename, inputFiles) { function processCSS(outputFilename, inputFiles) {
const css = gulp.src(inputFiles) const css = gulp.src(inputFiles)
.pipe(plumber(handleError)) .pipe(plumber(handleError))
.pipe(postCSS([ autoprefixer(autoprefixerSettings) ])) .pipe(postCSS([ autoprefixer(autoprefixerSettings) ]))
.pipe(concat(`${ouputFilename}.css`)); .pipe(concat(`${outputFilename}.css`));
if (isProduction) { if (isProduction) {
css.pipe(cleanCSS()); css.pipe(cleanCSS());
@ -117,7 +117,7 @@ function processCSS(ouputFilename, inputFiles) {
} }
// Process vue // Process vue
function processVue(ouputFilename, inputFile) { function processVue(outputFilename, inputFile) {
const javascript = browserify({ const javascript = browserify({
entries: [ inputFile ], entries: [ inputFile ],
paths: vuePaths paths: vuePaths
@ -125,7 +125,7 @@ function processVue(ouputFilename, inputFile) {
.transform(vueify) .transform(vueify)
.bundle() .bundle()
.on("error", handleError) .on("error", handleError)
.pipe(source(`${ouputFilename}.js`)) .pipe(source(`${outputFilename}.js`))
.pipe(buffer()); .pipe(buffer());
if (isProduction) { if (isProduction) {
@ -136,10 +136,10 @@ function processVue(ouputFilename, inputFile) {
} }
// Process javascript // Process javascript
function processJavaScript(ouputFilename, inputFiles, es6) { function processJavaScript(outputFilename, inputFiles, es6) {
const javascript = gulp.src(inputFiles) const javascript = gulp.src(inputFiles)
.pipe(plumber(handleError)) .pipe(plumber(handleError))
.pipe(concat(`${ouputFilename}.js`)); .pipe(concat(`${outputFilename}.js`));
if (es6) { if (es6) {
if (isProduction) { if (isProduction) {