gulp-parcel
gulp-parcel copied to clipboard
CSS and JS will point to temporary files when production of html
The following gulpfile.coffee with gulp parcel
makes html files point to temporary files as links to CSS and JS.
gulp.task 'parcel', () ->
gulp.src 'build/**/*.html', {read:false}
.pipe parcel()
.pipe gulp.dest('build/')
I think it will be solved by setting the working directory of parcel to ./build
in this case.
Shawn suggest:
To set working directory, run as follows:
cd build; yarn run gulp parcel
I'll try it.
@issuehuntfest has funded $25.00 to this issue. See it on IssueHunt