UNPKG

server-cli-only

Version:

The server-cli-only package is designed to restrict the import of modules exclusively to React Server Components or scripts running on the CLI.

39 lines (38 loc) 984 B
{ "name": "server-cli-only", "version": "0.3.2", "description": "The server-cli-only package is designed to restrict the import of modules exclusively to React Server Components or scripts running on the CLI.", "homepage": "https://github.com/destacks/core-ts/tree/main/packages/server-cli-only", "bugs": "https://github.com/destacks/core-ts/issues", "keywords": [ "nextjs", "next", "react", "server-only", "cli-only", "cli", "server" ], "author": "Alexis Michaltsis", "license": "MIT", "files": [ "error.main.js", "error.browser.js", "error.default.js", "pass.js" ], "main": "error.main.js", "exports": { ".": { "react-server": "./pass.js", "node": "./pass.js", "bun": "./pass.js", "deno": "./pass.js", "edge-light": "./pass.js", "netlify": "./pass.js", "workerd": "./pass.js", "browser": "./error.browser.js", "default": "./error.default.js" } } }