We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行glup 报错
path.js:116
Arguments to path.resolve must be strings
结构是
package.json
{ "name": "gulp", "version": "2.0.0", "main": "index.js", "dependencies": { "gulp": "^3.8.10", "gulp-util": "^3.0.1" }, "devDependencies": { "gulp": "^3.8.10", "gulp-util": "^3.0.1", "gulp-uglify": "^1.0.1", "gulp-concat": "^1.0.0" }, "scripts": {}, "author": "", "license": "ISC" }
gulpfile.js
var gulp = require('gulp'); var gutil = require('gulp-util'); var uglify = require('gulp-uglify'); var concat = require('gulp-concat'); gulp.task('concat', function(){ gulp.src('./js/*.js') .pipe(uglify()) .pipe(concat('all.min.js')) .pipe(gulp.dest('./build')); }); gulp.task('default', ['concat']);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
执行glup 报错
path.js:116
结构是
package.json
gulpfile.js
The text was updated successfully, but these errors were encountered: