Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FarazzShaikh committed Sep 21, 2024
1 parent ebdc836 commit b335bfa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"dev": "vite --config vite.config.ts",
"build": "tsc && vite build --config vite.config.prod.ts",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
Expand Down
8 changes: 8 additions & 0 deletions examples/vite.config.prod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
base: "/THREE-CustomShaderMaterial/",
plugins: [react()],
});
1 change: 0 additions & 1 deletion examples/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
base: "/THREE-CustomShaderMaterial/",
plugins: [react()],
resolve: {
alias: {
Expand Down

0 comments on commit b335bfa

Please sign in to comment.