vast-client-js
vast-client-js copied to clipboard
webpack module not found
Hi, since I updated to version 6.0.1, webpack is no longer able to build the bundle because of this errors
I'm importing VASTClient and VASTracker in this way
using this settings for webpack with babel
any idea?
Hello what version of webpack are you using ?
same here
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'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?
I think I found a way, simply changing the path of the import to this
Now webpack build my project without errors, but I got an error using the function vastClientInstance.getParser().addURLTemplateFilter, I don't know if it's because the breaking changes between 5 and 6 version or it's due to the way I'm importing the VASTClient object, any idea?
Ok found here https://github.com/dailymotion/vast-client-js/blob/c1c8b42f96c2bb695fbc435bf5a2750fb501f6e8/docs/api/vast-client.md#addurltemplatefilterfilter also to fix my other problem, vastClientInstance.addURLTemplateFilter
Hello do you still have the issue ? If that's not the case I will close this issue.
@ZacharieTFR I found a solution so for me you can close the issue. Thank you