gulp4-webpack | modern ES6 Gulp workflow combined with Webpack | Script Programming library
kandi X-RAY | gulp4-webpack Summary
kandi X-RAY | gulp4-webpack Summary
A modern ES6 Gulp workflow combined with Webpack. Demo for the CSS Tricks article.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gulp4-webpack
gulp4-webpack Key Features
gulp4-webpack Examples and Code Snippets
Community Discussions
Trending Discussions on gulp4-webpack
QUESTION
I'm referencing this article: https://css-tricks.com/combine-webpack-gulp-4/
And this repository: https://github.com/PascalAOMS/gulp4-webpack
I'm trying to import gulp tasks from one file into another. I tried by writing the tasks as functions then exporting those as normal, but started getting an error "Did you forget to signal async completion?". I also thought maybe I could write the tasks as usual, but wrap them in a function and export that, but the same error.
For more clarity I'm trying to figure out how to add tasks to the build gulp.series in this file https://github.com/PascalAOMS/gulp4-webpack/blob/master/tasks/index.js
Anyone have any ideas?
Here's the index.js
...ANSWER
Answered 2017-Jul-18 at 13:19Use CommonJs
since this will run with node which does not yet support ES6 modules
so replace f.e.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp4-webpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page