(version, options)
| 41 | } |
| 42 | |
| 43 | async function deploy(version, options) { |
| 44 | if (!version) { |
| 45 | version = await askForVersion() |
| 46 | } |
| 47 | if (!vueVersion) { |
| 48 | msg.error('Unable to determine VueJS version.') |
| 49 | process.exit() |
| 50 | } else { |
| 51 | if (options.iife) { |
| 52 | await deployIIFE(version) |
| 53 | } else { |
| 54 | msg.info(`Bundling with vue@${vueVersion}`) |
| 55 | msg.info(`» deploying ${version}`) |
| 56 | await deployESM(version) |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Deploy full packages to the FormKit Cloudfront CDN. |
nothing calls this directly
no test coverage detected