dailymotion / vast-client-js

VAST (up to 6) parsing library for JavaScript
https://iabtechlab.com/wp-content/uploads/2022/09/VAST_4.3.pdf
MIT License
367 stars 215 forks source link

webpack module not found #480

Open mdellanave opened 1 month ago

mdellanave commented 1 month ago

Hi, since I updated to version 6.0.1, webpack is no longer able to build the bundle because of this errors

image

I'm importing VASTClient and VASTracker in this way image

using this settings for webpack with babel

image image

any idea?

ZacharieTFR commented 1 month ago

Hello what version of webpack are you using ?

mdellanave commented 1 month ago

image

privaloops commented 1 month ago

same here

privaloops commented 1 month ago

I've got the same problem with a player trying to load the lib with dynamic import in a nextjs project. Need to bundle the lib :(

mdellanave commented 1 month ago

I've got the same problem with a player trying to load the lib with dynamic import in a nextjs project. Need to bundle the lib :(

I had to do the same in another project for another library and I used rollup, should I use the same approach or do you know if there's a way to do it directly with webpack?