u
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { qrcode } from 'vite-plugin-qrcode';
|
||||
import { componentDocsPlugin } from './vite-plugin-component-docs.js';
|
||||
|
||||
// Library dev server — renders the mock pages under /dev so components can be
|
||||
// inspected in isolation, and doubles as a Vite config for consumers that want
|
||||
// to preview this package standalone.
|
||||
export default defineConfig({
|
||||
plugins: [react(), componentDocsPlugin()],
|
||||
plugins: [react(), componentDocsPlugin(), qrcode()],
|
||||
server: {
|
||||
host: true,
|
||||
port: 5199,
|
||||
},
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user