-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathvite.config.ts
More file actions
27 lines (26 loc) · 853 Bytes
/
vite.config.ts
File metadata and controls
27 lines (26 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from 'vite';
import reactRefresh from '@vitejs/plugin-react-refresh';
export default defineConfig({
plugins: [reactRefresh()],
optimizeDeps: {
include: [
'buffer',
'@waves/node-api-js/es/api-node/addresses',
'@waves/node-api-js/es/api-node/alias',
'@waves/node-api-js/es/api-node/assets',
'@waves/node-api-js/es/api-node/transactions',
'@waves/node-api-js/es/api-node/utils',
'@waves/node-api-js/es/tools/adresses/availableSponsoredBalances',
'@waves/node-api-js/es/tools/adresses/getAssetIdListByTx',
'@waves/node-api-js/es/constants',
],
exclude: [
'node-fetch'
]
},
build: {
commonjsOptions: {
ignore: ['node-fetch']
}
}
});