chore: add node polyfills
This commit is contained in:
parent
6acbd6cab0
commit
7ef112f755
@ -4,4 +4,27 @@ export default {
|
||||
ignoredRouteFiles: ["**/.*"],
|
||||
serverDependenciesToBundle: ["mdx-bundler"],
|
||||
tailwind: true,
|
||||
browserNodeBuiltinsPolyfill: {
|
||||
modules: {
|
||||
path: true,
|
||||
fs: true,
|
||||
vm: true,
|
||||
util: true,
|
||||
buffer: true,
|
||||
string_decoder: true,
|
||||
events: true,
|
||||
os: true,
|
||||
crypto: true,
|
||||
http: true,
|
||||
child_process: true,
|
||||
https: true,
|
||||
url: true,
|
||||
net: true,
|
||||
tls: true,
|
||||
assert: true,
|
||||
stream: true,
|
||||
zlib: true,
|
||||
punycode: true,
|
||||
},
|
||||
},
|
||||
} satisfies AppConfig;
|
||||
|
Loading…
x
Reference in New Issue
Block a user