Skip to content

Commit

Permalink
feat: add size-check package
Browse files Browse the repository at this point in the history
  • Loading branch information
luthfimasruri committed Mar 28, 2021
1 parent f8fb23f commit ece8796
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/size-check/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Size Check

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).
116 changes: 116 additions & 0 deletions packages/size-check/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions packages/size-check/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@vueup/size-check",
"version": "3.0.9",
"private": true,
"buildOptions": {
"name": "SizeCheck",
"formats": [
"global"
]
},
"dependencies": {
"vue": "^3.0.9"
}
}
9 changes: 9 additions & 0 deletions packages/size-check/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { h, createApp } from 'vue'
import { QuillEditor } from '@vueup/vue-quill'

// The bare minimum code required for rendering something to the screen
const app = createApp({
render: () => h('div', 'hello world!')
})
app.component('Editor', QuillEditor)
app.mount('#app')

0 comments on commit ece8796

Please sign in to comment.