Buckets:
silverwolf-x/project / packages /next /src /build /webpack /loaders /next-error-browser-binary-loader.ts
| import type { webpack } from 'next/dist/compiled/webpack/webpack' | |
| export default function nextErrorBrowserBinaryLoader( | |
| this: webpack.LoaderContext<any> | |
| ) { | |
| const { resourcePath, rootContext } = this | |
| const relativePath = resourcePath.slice(rootContext.length + 1) | |
| throw new Error( | |
| `Node.js binary module ./${relativePath} is not supported in the browser. Please only use the module on server side` | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 417 Bytes
- Xet hash:
- 6138df4cb7843de898b1e2ae3dd6c63752a4f66da74a48205c072fa1d746bf06
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.