Skip to content

Commit

Permalink
chore: remove alias, ignore .wrangler directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmaynes committed Jul 2, 2024
1 parent 290e070 commit 3b2fbb9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ dist-ssr

# Secrets
.envrc

# Wrangler
.wrangler
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SimpleJsonEditor } from '@/components'
import { SimpleJsonEditor } from './components/SimpleJsonEditor'

const App = () => (
<div className="font-mono grid grid-flow-row min-h-screen bg-amber-200">
Expand Down
4 changes: 2 additions & 2 deletions src/components/SimpleJsonEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useReducer } from 'react'
import { JsonEditor } from '@/components/JsonEditor.tsx'
import { compressJson, isValidJson, prettifyJson } from '@/utils/json-utils.ts'
import { JsonEditor } from './JsonEditor'
import { compressJson, isValidJson, prettifyJson } from '../utils/json-utils'
import toast, { Toaster } from 'react-hot-toast'

enum SimpleJsonEditorStates {
Expand Down
1 change: 0 additions & 1 deletion src/components/index.ts

This file was deleted.

6 changes: 0 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'

export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
})

0 comments on commit 3b2fbb9

Please sign in to comment.