Hey @gopalraju, 'vendor' scripts do not get automatically transferred into the built theme. You will need to require the individual scripts in one of your entry js files, such as ./dev_theme/assets/js/main.js. Something like the following:
Something like that. The idea is to serve concatenated bundles of javascript. If you want to split the bundle up into smaller packages consider either using multiple entry files, egmain2.js, or, even better, using webpack's code chunking/splitting
Hey @gopalraju, 'vendor' scripts do not get automatically transferred into the built theme. You will need to require the individual scripts in one of your entry js files, such as
./dev_theme/assets/js/main.js
. Something like the following:Something like that. The idea is to serve concatenated bundles of javascript. If you want to split the bundle up into smaller packages consider either using multiple entry files, eg
main2.js
, or, even better, using webpack's code chunking/splitting