How does laravel-mix package css and js in blade files

in the laravel project, when using the blade template, you often use
@ section ("style")

on the page.
<style type="text/css">
</style>

@ endsection
or
@ section ("script")

<script type="text/javascript">
</script>

@ endsection
how do the css and js in this section be packaged using laravel-mix?
or is there a similar git project for reference?
look forward to God"s advice, thank you

Feb.28,2021
Menu