Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Mar 29, 2023
1 parent fe828cc commit d169cf7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import path from 'path'
import react from '@vitejs/plugin-react'
import ssl from '@vitejs/plugin-basic-ssl'
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin'
import { defineConfig } from 'vite'

const config = {
serve: {
serve: defineConfig({
root: 'examples',
plugins: [react(), ssl(), vanillaExtractPlugin()],
server: { host: '0.0.0.0', https: true },
Expand All @@ -14,8 +14,8 @@ const config = {
'@react-three/xr': path.resolve(process.cwd(), 'src')
}
}
},
build: {
}),
build: defineConfig({
build: {
minify: false,
sourcemap: true,
Expand All @@ -33,7 +33,7 @@ const config = {
}
}
}
}
})
}

export default defineConfig(({ command }) => config[command])

0 comments on commit d169cf7

Please sign in to comment.