Magento 2, change behaviour of Products of Page Builder

I have Magento 2.3.4.

I want to edit Products behavior of Page Builder.

I changed the template of carousel using my child theme:

app\design\frontend\MyVendor\luma_child_theme\Magento_PageBuilder\templates\catalog\product\widget\content\carousel.phtml

Now can't edit preview.js file to change code I tried to override the preview.js file but not work:

app\design\frontend\MyVendor\luma_child_theme\Magento_PageBuilder\view\adminhtml\web\products\preview.js

Also it is possible to edit javascript for frontend?

I want to use a different library to show carousel.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum