0
그래서하지만 지금은 내가하고자하는 프로젝트를 가지고 내 index.html을 같이꿀꺽의 SRC 및 대상 내 index.html 파일에 주입되지
을 동일한 폴더에 gulpfile이있는 프로젝트가있을 때 폴더와 내 프로젝트의 루트 내부의 gulpfile.js (모든 올바른 태그 예) index.html을
같은 폴더이
return gulp.src('*.html')
.pipe(wiredep(options))
.pipe(inject(injectSrc, injectOptions))
.pipe(gulp.dest(''));
index.html을 다시 지금 일이있다 밖에 꿀꺽 파일 디렉토리 나는 내가 무엇을 필요로하고는 src
및 꿀꺽 꿀꺽의 dest
을 이해하지 않는 것이 수집
return gulp.src('*.html')
.pipe(wiredep(options))
.pipe(inject(injectSrc, injectOptions))
.pipe(gulp.dest('../index.html'));
?
I 루트에있는 기존 index.html을을 가지고, 그것은 단지 주입해야하므로 gulp.src의 목적이 무엇 인지도 이해하지 못하기 때문에 아무것도 복사하지 않으려 고합니다. gulp.dest는 index.html ONE 수준입니다. 꿀꺽 꿀꺽 마시지 않아. –