Jump to content
Search Community

nextindex

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by nextindex

  1. Hey Artur,

     

    can I ask you, how you got the paid plugins working?

    I have also a setup with gulp and rollup. However I could not get the paid plugins working with rollup in a bundled environment.
    So I thought I switch to browserify and browserify-shim.

    However, I still could not manage to get them working. And due to lack of any error handling in gasp / plugins, I also don't know really why.

     

    Heres the part of my package.json

     "browser": {
        "DrawSVGPlugin": "./src/assets/scripts/vendor/DrawSVGPlugin.js"
      },
      "browserify-shim": {
        "DrawSVGPlugin": "DrawSVGPlugin"
      },
      "browserify": {
        "transform": [
          "browserify-shim"
        ]
      }
    

    And my animation goes like this

    const tlPath = new TimelineMax()
    tlPath
      .add(TweenMax.fromTo("#line1", 1, {drawSVG:"0%"}, {drawSVG:"100%"}));
    

    On codepen its working but not local.

×
×
  • Create New...