ci: improve size script
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
"name": "@vue/size-check",
|
||||
"version": "3.2.16",
|
||||
"private": true,
|
||||
"buildOptions": {
|
||||
"name": "Vue",
|
||||
"formats": [
|
||||
"global"
|
||||
]
|
||||
"scripts": {
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^2.5.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { h, createApp } from '@vue/runtime-dom'
|
||||
import { h, createApp } from 'vue'
|
||||
|
||||
// The bare minimum code required for rendering something to the screen
|
||||
createApp({
|
||||
|
||||
10
packages/size-check/vite.config.js
Normal file
10
packages/size-check/vite.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export default {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: ['src/index.ts'],
|
||||
output: {
|
||||
entryFileNames: `[name].js`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user