Hallo,
amateur question.
What can I asset my folder video? I read link in this forum, but there was solution via gulpfile.js, but it doesnt exist in my project.
my example:
resources/assets/video
after:
yarn build
yarn start
I get link to folder /dist/video/…mp4, but the folder dist contains only
images
scripts
(+styles in cache)
What can I add my folder video? config.js? If yes, how?
The following section of webpack.config.js configures which files are copied during the build process (which I assume is all you want to do with your videos—if you need to process them in some way you would need to add a different loader to do that).
The following line in config.js allows you to specify a glob that is used to by the above code to determine which files to copy, so you’d want to adjust it to include your video directory and the files within it.
If you take a look at the source for copy-globs-webpack-plugin, the tool that’s being used to copy these files, you can see the format that it expects globs to be in: