title: Webpack Compile script which are not in JS file but in HTML <script>
body: <p>I am using craft cms with vuejs,
  It would be awesome if I could write following in banner.twig file and webpack compiles it:</p>
  <pre><code>&lt;script&gt;
    import { createApp } from 'vue'
    import Banner from './banner.vue'
    const app = createApp({
      components: {
        Banner,
      },
    })
    app.mount('#app')
  &lt;/script&gt;
  </code></pre>
  <p>Is it possible to do so?</p>
  <p>My main aim is not to create a js file for every component to declare components or not import every component in index.js file</p>