Skip to content

Commit

Permalink
fix buffer alias
Browse files Browse the repository at this point in the history
  • Loading branch information
sliterok committed Mar 16, 2024
1 parent 7e76ff3 commit 33a9260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { defineConfig } from 'vite'
import tsconfigPaths from 'vite-tsconfig-paths'
import react from '@vitejs/plugin-react-swc'
import rakkas from 'rakkasjs/vite-plugin'
import path from 'path'

export default defineConfig({
resolve: {
alias: {
buffer: 'buffer.ts',
buffer: path.resolve(__dirname) + '/buffer.ts',
},
},
plugins: [
Expand Down

0 comments on commit 33a9260

Please sign in to comment.