()
| 86 | let bundler = new Parcel(options); |
| 87 | |
| 88 | async function run() { |
| 89 | try { |
| 90 | let {bundleGraph, buildTime} = await bundler.run(); |
| 91 | let bundles = bundleGraph.getBundles(); |
| 92 | console.log(`✨ Built ${bundles.length} icons in ${buildTime}ms!`); |
| 93 | } catch (err) { |
| 94 | console.log(err); |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | run().then(() => { |
| 99 | if (args.values.isLibrary) { |