Parse Error: "import" and "export" may appear only with sourceType: module #7087
ProAndSmiDev
started this conversation in
General
Replies: 1 comment
-
This in my gulp: all did it how it was on https://swiperjs.com/migration-guide-v10 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, need help with my packages. I am using Gulp and have task for libs (mjs):
and i have some settings for Swiper (js):
Template by pug is:
and i have package.json with type: "module"
I worked with swiper v9.2.2 and it was great, but for now i can't understand what happens and what i need to do. My current version for swiper is 10.3.1 and i have error in my console after task finished well:
Uncaught TypeError: (intermediate value).default is not a constructor
If you have time and more knowledges then me about it - help me please. My regards
Beta Was this translation helpful? Give feedback.
All reactions