Skip to content

Commit

Permalink
Update vite.config.ts (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
roninjin10 authored Sep 11, 2023
1 parent 5e4dac5 commit af8a25e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,6 @@ import { defineConfig } from "vite";
* @see https://vitejs.dev/config/
*/
export default defineConfig({
/**
* Defines global constant replacments
* @see https://vitejs.dev/config/shared-options.html#define
*/
define: {
global: "globalThis",
},
/**
* Fixes the `define` behavior which replaces `global` with `globalThis` where unappropriate
* @see https://github.com/wagmi-dev/create-wagmi/pull/73/files
* @see https://github.com/wagmi-dev/wagmi/issues/2989
*/
build: {
rollupOptions: {
external: [
"@safe-globalThis/safe-apps-provider",
"@safe-globalThis/safe-apps-sdk",
],
},
},
resolve: {
/**
* Polyfills nodejs imports
Expand Down

0 comments on commit af8a25e

Please sign in to comment.