Skip to content

Commit

Permalink
Merge pull request #7 from element-plus/feat/boost-build
Browse files Browse the repository at this point in the history
feat/boost-build
  • Loading branch information
jw-foss authored Dec 29, 2020
2 parents f8010c4 + d82adbf commit 0ed0ece
Show file tree
Hide file tree
Showing 289 changed files with 340 additions and 328 deletions.
54 changes: 24 additions & 30 deletions configs/rollup.comp.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,36 @@
const path = require('path')
const rollup = require('rollup')
const typescript = require('rollup-plugin-typescript2')
const path = require("path");
const rollup = require("rollup");
const esbuild = require("rollup-plugin-esbuild");

const p = process.argv[2]; // node this.js compName
const exportName = `${p.split('/').pop().split('.').shift()}.js`
const exportName = `${p.split("/").pop().split(".").shift()}.js`;

const root = path.resolve(__dirname, '..');
const root = path.resolve(__dirname, "..");

const esm = {
file: path.resolve(root, 'build/es', exportName),
format: 'esm',
file: path.resolve(root, "build/es", exportName),
format: "esm",
sourcemap: false,
};

const cjs = {
file: path.resolve(root, 'build/lib', exportName),
format: 'cjs',
exports: 'named',
file: path.resolve(root, "build/lib", exportName),
format: "cjs",
exports: "named",
sourcemap: false,
};

rollup.rollup({
input: path.resolve(root, p),
plugins: [typescript(
{
tsconfigOverride: {
compilerOptions: {
declaration: false,
},
'exclude': [
'node_modules',
'__tests__',
],
},
abortOnError: false,
})],
external: ['vue']
}).then(async bundle => {
await Promise.all([bundle.write(esm), bundle.write(cjs)]);
console.log(' \u001b[32m', exportName, 'done');
})
rollup
.rollup({
input: path.resolve(root, p),
plugins: [
esbuild({
// target: "browser",
}),
],
external: ["vue"],
})
.then(async (bundle) => {
await Promise.all([bundle.write(esm), bundle.write(cjs)]);
console.log(" \u001b[32m", exportName, "done");
});
4 changes: 2 additions & 2 deletions configs/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ rollup
})
.then(async (bundle) => {
await Promise.all([
bundle.write(esm),
// bundle.write(esm),
bundle.write(cjs),
bundle.write(minified),
// bundle.write(minified),
]);
console.log("full bundle built success");
});
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.2",
"esbuild": "^0.8.26",
"rollup": "^2.35.1",
"rollup-plugin-esbuild": "^2.6.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"svgo": "^1.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/add-location.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/aim.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/alarm-clock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M512 832a320 320 0 100-640 320 320 0 000 640zm0 64a384 384 0 110-768 384 384 0 010 768z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/apple.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M599.872 203.776a189.44 189.44 0 0164.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 01-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1160.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 11-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-down-bold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M104.704 338.752a64 64 0 0190.496 0l316.8 316.8 316.8-316.8a64 64 0 0190.496 90.496L557.248 791.296a64 64 0 01-90.496 0L104.704 429.248a64 64 0 010-90.496z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-down.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-left-bold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M685.248 104.704a64 64 0 010 90.496L368.448 512l316.8 316.8a64 64 0 01-90.496 90.496L232.704 557.248a64 64 0 010-90.496l362.048-362.048a64 64 0 0190.496 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-left.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M609.408 149.376L277.76 489.6a32 32 0 000 44.672l331.648 340.352a29.12 29.12 0 0041.728 0 30.592 30.592 0 000-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 000-42.688 29.12 29.12 0 00-41.728 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-right-bold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-right.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M340.864 149.312a30.592 30.592 0 000 42.752L652.736 512 340.864 831.872a30.592 30.592 0 000 42.752 29.12 29.12 0 0041.728 0L714.24 534.336a32 32 0 000-44.672L382.592 149.376a29.12 29.12 0 00-41.728 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-up-bold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M104.704 685.248a64 64 0 0090.496 0l316.8-316.8 316.8 316.8a64 64 0 0090.496-90.496L557.248 232.704a64 64 0 00-90.496 0L104.704 594.752a64 64 0 000 90.496z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/arrow-up.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/avatar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M628.736 528.896A416 416 0 01928 928H96a415.872 415.872 0 01299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 11-416 0 208 208 0 01416 0z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/back.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M224 480h640a32 32 0 110 64H224a32 32 0 010-64z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/baseball.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M195.2 828.8a448 448 0 11633.6-633.6 448 448 0 01-633.6 633.6zm45.248-45.248a384 384 0 10543.104-543.104 384 384 0 00-543.104 543.104z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/basketball.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M778.752 788.224a382.464 382.464 0 00116.032-245.632 256.512 256.512 0 00-241.728-13.952 762.88 762.88 0 01125.696 259.584zm-55.04 44.224a699.648 699.648 0 00-125.056-269.632 256.128 256.128 0 00-56.064 331.968 382.72 382.72 0 00181.12-62.336zm-254.08 61.248A320.128 320.128 0 01557.76 513.6a715.84 715.84 0 00-48.192-48.128 320.128 320.128 0 01-379.264 88.384 382.4 382.4 0 00110.144 229.696 382.4 382.4 0 00229.184 110.08zM129.28 481.088a256.128 256.128 0 00331.072-56.448 699.648 699.648 0 00-268.8-124.352 382.656 382.656 0 00-62.272 180.8zm106.56-235.84a762.88 762.88 0 01258.688 125.056 256.512 256.512 0 00-13.44-241.088A382.464 382.464 0 00235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0166.176 66.112 320.832 320.832 0 01282.112-8.128 382.4 382.4 0 00-110.144-229.12 382.4 382.4 0 00-229.632-110.208zM828.8 828.8a448 448 0 11-633.6-633.6 448 448 0 01633.6 633.6z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bell-filled.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M640 832a128 128 0 01-256 0h256zm192-64H134.4a38.4 38.4 0 010-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 11127.36 0A320.128 320.128 0 01832 448v243.2h57.6a38.4 38.4 0 010 76.8H832z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bell.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M512 64a64 64 0 0164 64v64H448v-64a64 64 0 0164-64z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bicycle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M256 832a128 128 0 100-256 128 128 0 000 256zm0 64a192 192 0 110-384 192 192 0 010 384z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bottom-left.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M256 768h416a32 32 0 110 64H224a32 32 0 01-32-32V352a32 32 0 0164 0v416z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bottom-right.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M352 768a32 32 0 100 64h448a32 32 0 0032-32V352a32 32 0 00-64 0v416H352z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bottom.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M544 805.888V168a32 32 0 10-64 0v637.888L246.656 557.952a30.72 30.72 0 00-45.312 0 35.52 35.52 0 000 48.064l288 306.048a30.72 30.72 0 0045.312 0l288-306.048a35.52 35.52 0 000-48 30.72 30.72 0 00-45.312 0L544 805.824z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/bowl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M714.432 704a351.744 351.744 0 00148.16-256H161.408a351.744 351.744 0 00148.16 256h404.864zM288 766.592A415.68 415.68 0 0196 416a32 32 0 0132-32h768a32 32 0 0132 32 415.68 415.68 0 01-192 350.592V832a64 64 0 01-64 64H352a64 64 0 01-64-64v-65.408zM493.248 320h-90.496l254.4-254.4a32 32 0 1145.248 45.248L493.248 320zm187.328 0h-128l269.696-155.712a32 32 0 0132 55.424L680.576 320zM352 768v64h320v-64H352z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/box.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M317.056 128L128 344.064V896h768V344.064L706.944 128H317.056zm-14.528-64h418.944a32 32 0 0124.064 10.88l206.528 236.096A32 32 0 01960 332.032V928a32 32 0 01-32 32H96a32 32 0 01-32-32V332.032a32 32 0 017.936-21.12L278.4 75.008A32 32 0 01302.528 64z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/briefcase.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M320 320V128h384v192h192v192H128V320h192zM128 576h768v320H128V576zm256-256h256.064V192H384v128z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/brush-filled.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M608 704v160a96 96 0 01-192 0V704h-96a128 128 0 01-128-128h640a128 128 0 01-128 128h-96zM192 512V128.064h640V512H192z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/brush.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M896 448H128v192a64 64 0 0064 64h192v192h256V704h192a64 64 0 0064-64V448zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 00-6.144 128H960v256a128 128 0 01-128 128H704v160a32 32 0 01-32 32H352a32 32 0 01-32-32V768H192A128 128 0 0164 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/burger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M160 512a32 32 0 00-32 32v64a32 32 0 0030.08 32H864a32 32 0 0032-32v-64a32 32 0 00-32-32H160zm736-58.56A96 96 0 01960 544v64a96 96 0 01-51.968 85.312L855.36 833.6a96 96 0 01-89.856 62.272H258.496A96 96 0 01168.64 833.6l-52.608-140.224A96 96 0 0164 608v-64a96 96 0 0164-90.56V448a384 384 0 11768 5.44zM832 448a320 320 0 00-640 0h640zM512 704H188.352l40.192 107.136a32 32 0 0029.952 20.736h507.008a32 32 0 0029.952-20.736L835.648 704H512z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/calendar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M128 384v512h768V192H768v32a32 32 0 11-64 0v-32H320v32a32 32 0 01-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1164 0v32h160a32 32 0 0132 32v768a32 32 0 01-32 32H96a32 32 0 01-32-32V160a32 32 0 0132-32h160V96a32 32 0 0164 0v32zm-32 384h64a32 32 0 010 64h-64a32 32 0 010-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64zm192-192h64a32 32 0 010 64h-64a32 32 0 010-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64zm192-192h64a32 32 0 110 64h-64a32 32 0 110-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/camera-filled.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M160 224a64 64 0 00-64 64v512a64 64 0 0064 64h704a64 64 0 0064-64V288a64 64 0 00-64-64H748.416l-46.464-92.672A64 64 0 00644.736 96H379.328a64 64 0 00-57.216 35.392L275.776 224H160zm352 435.2a115.2 115.2 0 100-230.4 115.2 115.2 0 000 230.4zm0 140.8a256 256 0 110-512 256 256 0 010 512z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/camera.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M896 256H128v576h768V256zm-199.424-64l-32.064-64h-304.96l-32 64h369.024zM96 192h160l46.336-92.608A64 64 0 01359.552 64h304.96a64 64 0 0157.216 35.328L768.192 192H928a32 32 0 0132 32v640a32 32 0 01-32 32H96a32 32 0 01-32-32V224a32 32 0 0132-32zm416 512a160 160 0 100-320 160 160 0 000 320zm0 64a224 224 0 110-448 224 224 0 010 448z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/caret-bottom.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M192 384l320 384 320-384z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/caret-left.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M672 192L288 511.936 672 832z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/caret-right.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M384 192v640l384-320.064z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/caret-top.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M512 320L192 704h639.936z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/cellphone.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M256 128a64 64 0 00-64 64v640a64 64 0 0064 64h512a64 64 0 0064-64V192a64 64 0 00-64-64H256zm0-64h512a128 128 0 01128 128v640a128 128 0 01-128 128H256a128 128 0 01-128-128V192A128 128 0 01256 64zm128 128h256a32 32 0 110 64H384a32 32 0 010-64zm128 640a64 64 0 110-128 64 64 0 010 128z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-dot-round.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M174.72 855.68l135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0189.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 01-206.912-48.384l-175.616 58.56z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-dot-square.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M273.536 736H800a64 64 0 0064-64V256a64 64 0 00-64-64H224a64 64 0 00-64 64v570.88L273.536 736zM296 800L147.968 918.4A32 32 0 0196 893.44V256a128 128 0 01128-128h576a128 128 0 01128 128v416a128 128 0 01-128 128H296z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-line-round.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M174.72 855.68l135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0189.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 01-206.912-48.384l-175.616 58.56z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-line-square.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M160 826.88L273.536 736H800a64 64 0 0064-64V256a64 64 0 00-64-64H224a64 64 0 00-64 64v570.88zM296 800L147.968 918.4A32 32 0 0196 893.44V256a128 128 0 01128-128h576a128 128 0 01128 128v416a128 128 0 01-128 128H296z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-round.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M174.72 855.68l130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0069.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0189.6 896l56.512-141.248A405.12 405.12 0 0164 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/chat-square.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M273.536 736H800a64 64 0 0064-64V256a64 64 0 00-64-64H224a64 64 0 00-64 64v570.88L273.536 736zM296 800L147.968 918.4A32 32 0 0196 893.44V256a128 128 0 01128-128h576a128 128 0 01128 128v416a128 128 0 01-128 128H296z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/check.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'
Expand Down
2 changes: 1 addition & 1 deletion packages/components/checked.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { h } from 'vue'
import Icon from '../icon'
import Icon from '../icon/icon'

import type { FunctionalComponent } from 'vue'
const d = 'M704 192h160v736H160V192h160.064v64H704v-64zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024 311.616 537.28zM384 192V96h256v96H384z'
Expand Down
Loading

0 comments on commit 0ed0ece

Please sign in to comment.