Skip to content

Commit ece8796

Browse files
committed
feat: add size-check package
1 parent f8fb23f commit ece8796

File tree

4 files changed

+142
-0
lines changed

4 files changed

+142
-0
lines changed

packages/size-check/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Size Check
2+
3+
This package is private and is used for checking the baseline runtime size after tree-shaking (with only the bare minimal code required to render something to the screen).

packages/size-check/package-lock.json

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/size-check/package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "@vueup/size-check",
3+
"version": "3.0.9",
4+
"private": true,
5+
"buildOptions": {
6+
"name": "SizeCheck",
7+
"formats": [
8+
"global"
9+
]
10+
},
11+
"dependencies": {
12+
"vue": "^3.0.9"
13+
}
14+
}

packages/size-check/src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { h, createApp } from 'vue'
2+
import { QuillEditor } from '@vueup/vue-quill'
3+
4+
// The bare minimum code required for rendering something to the screen
5+
const app = createApp({
6+
render: () => h('div', 'hello world!')
7+
})
8+
app.component('Editor', QuillEditor)
9+
app.mount('#app')

0 commit comments

Comments
 (0)