Skip to content

Commit

Permalink
fix layers and secondary-input-sources examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Aug 17, 2024
1 parent 54346af commit f451cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/layers/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), basicSsl()],
base: '/xr/examples/layers/',
resolve: {
alias: [{ find: '@react-three/xr', replacement: path.resolve(__dirname, '../../packages/react/xr/src/index.ts') }],
dedupe: ['@react-three/fiber', 'three'],
Expand Down
1 change: 1 addition & 0 deletions examples/secondary-input-sources/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), basicSsl()],
base: '/xr/examples/secondary-input-sources/',
resolve: {
alias: [{ find: '@react-three/xr', replacement: path.resolve(__dirname, '../../packages/react/xr/src/index.ts') }],
dedupe: ['@react-three/fiber', 'three'],
Expand Down

0 comments on commit f451cda

Please sign in to comment.