create-rspeedy
Version:
Create Rspeedy-powered ReactLynx apps with one command
20 lines (17 loc) • 483 B
JavaScript
import { defineConfig } from '@lynx-js/rspeedy'
import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin'
import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin'
export default defineConfig({
source: {
entry: './src/index.jsx',
},
plugins: [
pluginQRCode({
schema(url) {
// We use `?fullscreen=true` to open the page in LynxExplorer in full screen mode
return `${url}?fullscreen=true`
},
}),
pluginReactLynx(),
],
})