davidmyersdev/vite-plugin-node-polyfills
A Vite plugin to polyfill Node's Core Modules for browser environments.
TypeScriptMIT
Pinned issues
Issues
- 8
- 6
Bug: require is not defined using Remix Vite
#103 opened by areichman - 0
Bug: polyfill of path doesn't work with remix
#107 opened by nikolailehbrink - 7
Failed to resolve module specifier "vite-plugin-node-polyfills/shims/global". Relative references must start with either "/", "./", or "../".
#78 opened by jsoneaday - 2
- 1
- 16
- 0
- 2
Bug: Cannot destructure property 'Uint8Array' of 'globalThis' as it is undefined.
#104 opened by GiovaniGuizzoYUB - 9
- 1
Bug: TypeError: util.inherits is not a function at node_modules/@microsoft/signalr-protocol-msgpack/dist/cjs/MessagePackHubProtocol.js (MessagePackHubProtocol.ts:5:1)
#102 opened by jatin28 - 4
- 2
exclude polyfills for specific dependencies
#99 opened by UnCor3 - 7
Bug: importing 'crypto' polyfill leads to error `exports is not defined` with yarn build && yarn preview in nuxt
#92 opened by clangenb - 4
Bug: conflict with another middleware plugin
#87 opened by railty - 0
Bug: cannot polyfill the node process?
#98 opened by devnomic - 0
Bug: How to use crypto.X509Certificate
#97 opened by IbrahimSam96 - 1
TypeError: undefined is not an object (evaluating 'process.version.slice')
#96 opened by IbrahimSam96 - 1
- 2
`process` is not polyfilled if `viteConfig.define` is used to define, for example, a static environment variable in the form of `process.env.var_name`
#83 opened by rdsedmundo - 1
Globals are always defined
#86 opened by Ilyat1337 - 0
Bug: `node:assert/strict` is not polyfilled
#93 opened by tscpp - 2
Bug: exports is not defined
#90 opened by RaulCatalinas - 6
- 0
- 0
- 1
Error when having type: module in package.json
#82 opened by Jinjiang - 2
toString error with zlib starting with 0.18.0
#77 opened by sean-daley - 1
Missing kMaxLength and SlowBuffer exposure
#75 opened by rubeniskov - 0
Release `v1.0.0`
#73 opened by davidmyersdev - 0
Migrate to `unenv`
#72 opened by davidmyersdev - 6
- 4
Missing "./shims/global" specifier
#69 opened by raimund-schluessler - 2
- 1
- 9
The plugin breaks nuxi build
#41 opened by learntheropes - 2
- 3
Uncaught SyntaxError: Unexpected string
#47 opened by BenjaminLesne - 2
Writable.toWeb is not a function
#56 opened by TRSescada - 3
- 2
- 3
- 8
Support Vite 5
#55 opened by bdbvb - 3
- 1
- 1
- 3
- 1
Nuxt3 - Cannot read properties of null & fs
#51 opened by trumanjchan - 3
If I define --mode on the cmdline I get 'ReferenceError: Buffer is not defined'
#46 opened by MikeMitterer - 5
Importing fs returns a null object.
#43 opened by iiSHZUKA