mirror of
https://github.com/JonasunderscoreJones/api.jonasjones.dev.git
synced 2025-10-23 20:19:19 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
commit
58a42872a0
1745 changed files with 741893 additions and 0 deletions
14
node_modules/blake3-wasm/esm/index.js
generated
vendored
Normal file
14
node_modules/blake3-wasm/esm/index.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Bunlers add the `process.browser` flag to indicate the build enviroment.
|
||||
// Throw a verbose error if we see people bundling the Node.js build in their
|
||||
// browser, since it probably won't work for them (or at least not give them)
|
||||
// nice tree shaking and such.
|
||||
//
|
||||
// Note that we don't check the presence of window/document, since those can
|
||||
// be emulated in common test scenarios (e.g. jest's default setup with jsdom).
|
||||
if (process.browser) {
|
||||
throw new Error('You tried to import the Node.js version of blake3, instead of the browser ' +
|
||||
'version, in your build. You can fix this by importing "blake3/browser" ' +
|
||||
'instead of "blake3"');
|
||||
}
|
||||
export * from './node.js';
|
||||
//# sourceMappingURL=index.js.map
|
Loading…
Add table
Add a link
Reference in a new issue