Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3454

Optimize web component library build

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Can we build for modern browser and load via `<script type="module">` (see https://github.com/vuejs/vue-web-component-wrapper#usage which shows this is supported, but need to figure out how to do this with vue-cli)?

      Also, what can we externalize?

      • Vue? Load from common?
      • AiravataAPI

      The goal is to cut down the size of the built JS and CSS bundle as much as possible to keep it lightweight.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: