Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Errors upon uglify (gulp --production) #79

Open
@tomdavison12

Description

@tomdavison12

I encountered an error that arose from trying to gulp --production after modifying a javascript file. The error messages did not provide anything specific to the error.

Gulp-util node package needs to be added and the the bower.task.js file needs to be modified.

For others like me, who do not know how to get the error message, here is what you need to do:

Install Gulp-util
import the Gulp-util by using the following statement: var gutil = require('gulp-util');
Finally, when you are uglifying the code, attach the error handler like this: .pipe(uglify().on('error', gutil.log))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions