Skip to content

Commit

Permalink
ci: fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarnadas committed Apr 30, 2024
1 parent ac690b6 commit b85fd05
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ export default defineConfig({
ignoredRouteFiles: ['**/*.css']
}),
tsconfigPaths(),
cjsInterop({
dependencies: ['@orderly.network/*']
})
process.env.NODE_ENV === 'development'
? cjsInterop({
dependencies: ['@orderly.network/*']
})
: undefined
]
});

0 comments on commit b85fd05

Please sign in to comment.