mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -05:00
Fix variable name spelling
This commit is contained in:
parent
0e8e063f48
commit
d96f37737a
1 changed files with 6 additions and 6 deletions
12
gulpfile.js
vendored
12
gulpfile.js
vendored
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue