...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
@@ -4,21 +4,30 @@ | ||
| 4 | 4 | "keywords": [ |
| 5 | 5 | "react" |
| 6 | 6 | ], |
| 7 | "version": "17.0.2", | |
| 7 | "version": "18.0.0", | |
| 8 | 8 | "homepage": "https://reactjs.org/", |
| 9 | 9 | "bugs": "https://github.com/facebook/react/issues", |
| 10 | 10 | "license": "MIT", |
| 11 | 11 | "files": [ |
| 12 | 12 | "LICENSE", |
| 13 | 13 | "README.md", |
| 14 | "build-info.json", | |
| 15 | 14 | "index.js", |
| 16 | 15 | "cjs/", |
| 17 | 16 | "umd/", |
| 18 | 17 | "jsx-runtime.js", |
| 19 | "jsx-dev-runtime.js" | |
| 18 | "jsx-dev-runtime.js", | |
| 19 | "react.shared-subset.js" | |
| 20 | 20 | ], |
| 21 | 21 | "main": "index.js", |
| 22 | "exports": { | |
| 23 | ".": { | |
| 24 | "react-server": "./react.shared-subset.js", | |
| 25 | "default": "./index.js" | |
| 26 | }, | |
| 27 | "./package.json": "./package.json", | |
| 28 | "./jsx-runtime": "./jsx-runtime.js", | |
| 29 | "./jsx-dev-runtime": "./jsx-dev-runtime.js" | |
| 30 | }, | |
| 22 | 31 | "repository": { |
| 23 | 32 | "type": "git", |
| 24 | 33 | "url": "https://github.com/facebook/react.git", |
@@ -28,12 +37,11 @@ | ||
| 28 | 37 | "node": ">=0.10.0" |
| 29 | 38 | }, |
| 30 | 39 | "dependencies": { |
| 31 | "loose-envify": "^1.1.0", | |
| 32 | "object-assign": "^4.1.1" | |
| 40 | "loose-envify": "^1.1.0" | |
| 33 | 41 | }, |
| 34 | 42 | "browserify": { |
| 35 | 43 | "transform": [ |
| 36 | 44 | "loose-envify" |
| 37 | 45 | ] |
| 38 | 46 | } |
| 39 | } | |
| 47 | } | |
@@ -0,0 +1,20 @@ | ||
| 1 | /** | |
| 2 | * @license React | |
| 3 | * react.shared-subset.development.js | |
| 4 | * | |
| 5 | * Copyright (c) Facebook, Inc. and its affiliates. | |
| 6 | * | |
| 7 | * This source code is licensed under the MIT license found in the | |
| 8 | * LICENSE file in the root directory of this source tree. | |
| 9 | */ | |
| 10 | ||
| 11 | 'use strict'; | |
| 12 | ||
| 13 | if (process.env.NODE_ENV !== "production") { | |
| 14 | (function() { | |
| 15 | 'use strict'; | |
| 16 | ||
| 17 | // eslint-disable-next-line react-internal/prod-error-codes | |
| 18 | throw new Error('This entry point is not yet supported outside of experimental channels'); | |
| 19 | })(); | |
| 20 | } | |
Publish
Install