chore: add node polyfills
This commit is contained in:
parent
10fe0add4a
commit
ae6db31c4e
@ -3,4 +3,27 @@ import type { AppConfig } from "@remix-run/dev";
|
|||||||
export default {
|
export default {
|
||||||
ignoredRouteFiles: ["**/.*"],
|
ignoredRouteFiles: ["**/.*"],
|
||||||
tailwind: true,
|
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;
|
} satisfies AppConfig;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user