Workers Playground: load npm packages and specify nodejs_compat compatibility_flags?
Does the Workers Playground have a way to load npm packages and specify nodejs_compat as a compatibility_flag?
1 Reply
Not for npm packages. The way those work under the hood for example with wrangler deploy is using a bundler like esbuild to bundle them all into one JS File, would be interesting if they could get all that working in the web
I don't think it's possible to set flags either, although it doesn't look like it would be too hard for them to add that if they wanted to, maybe one day