I'm trying to implement a Twilio background blur, using the GaussianBlurBackgroundProcessor. You can check the docs here.
I need to find a way to set a path for a folder but for a specific reason, I don't want to use the public react folder.
I tried to use the CopyWebpackPlugin to copy the files for the build folder and did work but when I tried to run the application using the development start script the files are not available.
Do you have any clue how can I set the assetPath without using the public folder and add the specific folder to the bundle?
CopyWebpackPlugin
new CopyPlugin({
patterns: [
{
from: "node_modules/@twilio/video-processors/dist/build",
to: "static/blur",
noErrorOnMissing: false
},
],
})
Thanks