kevinbaes
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by kevinbaes
-
-
Hi everyone,
I try to import DrawSVG with webpack but I have an error.ERROR in ./resources/assets/js/plugins/DrawSVGPlugin.jsModule not found: Error: Can't resolve 'TweenLite' inimport { TweenMax, TimelineMax } from "gsap"; import DrawSVGPlugin from './plugins/DrawSVGPlugin'; import Draggable from 'gsap/Draggable';
For informations, Draggable works well.
The DrawSVGPlugin version is the last : 0.1.2.
Thank's
DrawSVG with webpack
in GSAP
Posted
Yes we're using NPM, we could grab this file and drop it in GSAP folder but our deployment flow would be broken.
For now I changed the define 'TweenLite' to '.TweenLite' and copied Tweenlite.js in my directory... not the best option I guess.