056c47581f
Ships the second dashboard surface — a Pattern Library + Preview Theatre — that presents the 4-section PDP pilot batch back to Umar, compliance, and the board in an editorial format. Adds the full data layer that drives it: 5 source-backed per-SKU drafts at QA 100/100, 15 competitor PDP semantic extracts, PubMed evidence packs, EFSA claims library extension, JV brand voice guide, hand-curated product FAQs, and the Matrixify-ready CSV exports for Lewis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
688 B
JavaScript
27 lines
688 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// Separate Vite entry for the editorial dashboard.
|
|
// Dev: npm run dev:editorial (port 5175, proxy /api -> Bun on 3456)
|
|
// Build: npm run build:editorial (outputs to dist-editorial/)
|
|
//
|
|
// Production: the Bun server mounts dist-editorial/ under /editorial/* (see api/server.ts).
|
|
export default defineConfig({
|
|
root: 'src-editorial',
|
|
base: '/editorial/',
|
|
publicDir: false,
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 5175,
|
|
strictPort: true,
|
|
host: '127.0.0.1',
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:3456'
|
|
}
|
|
},
|
|
build: {
|
|
outDir: '../dist-editorial',
|
|
emptyOutDir: true
|
|
}
|
|
})
|