Skip to content

Commit

Permalink
rn the vite plugin to monkey
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Jul 22, 2024
1 parent 4ac8752 commit 88819a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/aquarium/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Lightformer, Environment, RandomizedLight, AccumulativeShadows, MeshTra
import shapesModel from './shapes-transformed.glb?url'
import turtleModel from './model_52a_-_kemps_ridley_sea_turtle_no_id-transformed.glb?url'

// bump1
// bump2
export default function App({ spheres }) {
return (
<Canvas shadows camera={{ position: [30, 0, -3], fov: 35, near: 1, far: 50 }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import * as babelParser from "@babel/parser";
import traverse from "@babel/traverse";
import * as t from "@babel/types";

export default function vitePluginCheesyCanvas() {
export default function vitePluginMonkey() {
return {
name: "vite-plugin-cheesy-canvas",
name: "vite-plugin-monkey",
transform(code, id) {
//
// In `src/index.[jt]sx`, add to the top of the file:
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/src/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

import cheesyCanvas from "./vite-plugin-cheesy-canvas";
import monkeyPatch from "./vite-plugin-monkey";

export default defineConfig({
plugins: [react(), cheesyCanvas()],
plugins: [react(), monkeyPatch()],
});

0 comments on commit 88819a6

Please sign in to comment.