function removeQuasarImports (code, importMap, importSet, reverseMap) {
  return code.replace(
    importQuasarRegex,
    (_, match) => {
      match.split(',').forEach(identifier => {
        const data = identifier.split(' as ')
        const importName = data[ 0 ].trim()

        // might be an empty entry like below
        // (notice useQuasar is followed by a comma)
        // import { QTable, useQuasar, } from 'quasar'
        if (importName !== '') {
          const importAs = data[ 1 ] !== void 0
            ? data[ 1 ].trim()
            : importName

          importSet.add(importName + (importAs !== importName ? ` as ${ importAs }` : ''))
          importMap[ importName ] = importAs
          reverseMap[ importName.replace(/-/g, '_') ] = importAs
        }
      })

      // we registered the original import and we
      // remove this one to avoid duplicate imports from Quasar
      return ''
    }
  )
}
Transforms JS code where importing from 'quasar' package
Example:
      import { QBtn } from 'quasar'
   -> add to importMap & importList & remove original import statement
   (removing original is required so that the end file will have
    only one import from Quasar statement)