Support » Plugin: Super Progressive Web Apps » Uncaught SyntaxError: Cannot use import statement outside a mod

  • shopmaster

    (@serdarozbilen)


    Hello,

    After the latest update we ara getting errror on console.

    superpwa-sw.js:8 Uncaught SyntaxError: Cannot use import statement outside a mod

    import*as googleAnalytics from ‘workbox-google-analytics’;if(googleAnalytics){try{googleAnalytics.initialize();}catch(e){}}

    How canw e solve this ?
    Regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.