File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ import { glob } from 'glob'
7
7
import react from '@vitejs/plugin-react'
8
8
import dts from 'vite-plugin-dts'
9
9
import { libInjectCss } from 'vite-plugin-lib-inject-css'
10
- import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill'
11
- import { NodeModulesPolyfillPlugin } from '@esbuild-plugins/node-modules-polyfill'
12
10
import path from 'path'
13
11
14
12
export default defineConfig ( {
@@ -25,20 +23,6 @@ export default defineConfig({
25
23
setupFiles : [ './tests/setupTest.ts' ] ,
26
24
css : true ,
27
25
} ,
28
- optimizeDeps : {
29
- esbuildOptions : {
30
- plugins : [
31
- NodeGlobalsPolyfillPlugin ( {
32
- process : true ,
33
- buffer : true ,
34
- } ) ,
35
- NodeModulesPolyfillPlugin ( ) ,
36
- ] ,
37
- loader : {
38
- '.node' : 'file' ,
39
- } ,
40
- } ,
41
- } ,
42
26
resolve : {
43
27
alias : {
44
28
'@' : path . resolve ( __dirname , './src' ) ,
You can’t perform that action at this time.
0 commit comments