chore: prepare for publish v1.0.2

This commit is contained in:
zhanghao 2026-09-07 10:52:30 +08:00
parent cb02f4ba5d
commit 7136751cd1
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cmvr/iot-common",
"version": "1.0.0",
"version": "1.0.2",
"description": "CMVR IoT shared frontend runtime and business modules",
"author": {
"name": "zhanghao",
@ -10,7 +10,6 @@
"license": "UNLICENSED",
"private": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": "./dist/index.js",

View File

@ -62,6 +62,10 @@ export default defineConfig({
rollupOptions: {
external: (id) => externalDependencies.some((dependency) => id === dependency || id.startsWith(`${dependency}/`)),
output: {
globals: {
vue: 'Vue',
'vue-router': 'VueRouter'
},
chunkFileNames: 'chunks/[name]-[hash].js',
assetFileNames: (assetInfo) => assetInfo.name === 'style.css'
? 'style.css'