File tree 2 files changed +25
-6
lines changed
2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 18
18
"devDependencies" : {
19
19
"@babel/core" : " ^7.14.8" ,
20
20
"@playwright/test" : " ^1.12.3" ,
21
- "ipfs" : " ^0.63.3 " ,
21
+ "ipfs" : " ^0.64.0 " ,
22
22
"playwright" : " ^1.12.3" ,
23
23
"process" : " ^0.11.10" ,
24
24
"rimraf" : " ^3.0.2" ,
25
25
"test-util-ipfs-example" : " ^1.0.2" ,
26
26
"util" : " ^0.12.4" ,
27
- "vite" : " ^3.0.0-beta.1 "
27
+ "vite" : " ^3.1.0 "
28
28
}
29
29
}
Original file line number Diff line number Diff line change 1
- export default {
1
+ import { defineConfig } from 'vite'
2
+
3
+ export default defineConfig ( {
2
4
build : {
3
- target : 'esnext' ,
4
- minify : false
5
+ target : 'es2020' ,
6
+ minify : false ,
7
+ // disable @rollup /plugin-commonjs https://github.com/vitejs/vite/issues/9703#issuecomment-1216662109
8
+ // should be removable with vite 4 https://vitejs.dev/blog/announcing-vite3.html#esbuild-deps-optimization-at-build-time-experimental
9
+ commonjsOptions : {
10
+ include : [ ]
11
+ }
5
12
} ,
6
13
define : {
7
14
'process.env.NODE_DEBUG' : 'false' ,
8
15
'global' : 'globalThis'
16
+ } ,
17
+ optimizeDeps : {
18
+ // enable esbuild dep optimization during build https://github.com/vitejs/vite/issues/9703#issuecomment-1216662109
19
+ // should be removable with vite 4 https://vitejs.dev/blog/announcing-vite3.html#esbuild-deps-optimization-at-build-time-experimental
20
+ disabled : false ,
21
+
22
+ // target: es2020 added as workaround to make big ints work
23
+ // - should be removable with vite 4
24
+ // https://github.com/vitejs/vite/issues/9062#issuecomment-1182818044
25
+ esbuildOptions : {
26
+ target : 'es2020'
27
+ }
9
28
}
10
- }
29
+ } )
You can’t perform that action at this time.
0 commit comments