LamassuEventKind → BitSpireEventKind (nostr-client; no consumers outside the package), the kiosk theme localStorage keys lamassu-theme / lamassu-color-mode → bitspire-* (a one-time theme reset on existing kiosks), the ui-shared UMD global LamassuUIShared → BitSpireUIShared, and the orphaned Rust HAL's Cargo name/description/repository plus its lib.rs header — now also labelled as the unbuilt leftover it is. nostr-client: 43/43 tests, tsc clean. Machine app: vue-tsc + electron tsc clean.
22 lines
428 B
TypeScript
22 lines
428 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { resolve } from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
build: {
|
|
lib: {
|
|
entry: resolve(__dirname, 'src/index.ts'),
|
|
name: 'BitSpireUIShared',
|
|
fileName: 'index',
|
|
},
|
|
rollupOptions: {
|
|
external: ['vue'],
|
|
output: {
|
|
globals: {
|
|
vue: 'Vue',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|