Replies: 1 comment
-
Discovered the solution: we employ GSAP directly rather than setting up a separate Gulp task for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setting up a Gulp Project with Pug and GSAP
Require assistance in configuring a suitable environment for Gulp, Pug, and integrating plugins such as GSAP.
Current Situation
At present, I'm in the process of establishing a Gulp project. I aim to incorporate the GSAP library, which requires the creation of a specific Gulp task. Instead of using
import gsap from "/dist/js/animation-plugin/gsap/gsap.min";
I want setup code where I can use the direct path of the gsapimport gsap from "gsap"
, I must set up a task in thepackage.json
. Assistance in this matter would be greatly appreciatedHere is my
gulfile.js
codeand here is
webpack.config.js
Beta Was this translation helpful? Give feedback.
All reactions