@rspack/dev-server 0.0.0-20230207152928 → 0.0.0-20230216082502

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -5
  2. package/LICENSE +2 -1
  3. package/dist/config.d.ts +1 -0
  4. package/dist/config.d.ts.map +1 -1
  5. package/package.json +6 -7
  6. package/src/config.ts +1 -0
  7. package/tests/__snapshots__/normalizeOptions.test.ts.snap +0 -77
  8. package/tests/normalizeOptions.test.ts +9 -17
  9. package/tsconfig.tsbuildinfo +1 -1
  10. package/tests/e2e-fixtures/react/node_modules/react/LICENSE +0 -21
  11. package/tests/e2e-fixtures/react/node_modules/react/README.md +0 -37
  12. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1296
  13. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
  14. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
  15. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1314
  16. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
  17. package/tests/e2e-fixtures/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
  18. package/tests/e2e-fixtures/react/node_modules/react/cjs/react.development.js +0 -2739
  19. package/tests/e2e-fixtures/react/node_modules/react/cjs/react.production.min.js +0 -26
  20. package/tests/e2e-fixtures/react/node_modules/react/cjs/react.shared-subset.development.js +0 -20
  21. package/tests/e2e-fixtures/react/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
  22. package/tests/e2e-fixtures/react/node_modules/react/index.js +0 -7
  23. package/tests/e2e-fixtures/react/node_modules/react/jsx-dev-runtime.js +0 -7
  24. package/tests/e2e-fixtures/react/node_modules/react/jsx-runtime.js +0 -7
  25. package/tests/e2e-fixtures/react/node_modules/react/package.json +0 -47
  26. package/tests/e2e-fixtures/react/node_modules/react/react.shared-subset.js +0 -7
  27. package/tests/e2e-fixtures/react/node_modules/react/umd/react.development.js +0 -3342
  28. package/tests/e2e-fixtures/react/node_modules/react/umd/react.production.min.js +0 -31
  29. package/tests/e2e-fixtures/react/node_modules/react/umd/react.profiling.min.js +0 -31
  30. package/tests/e2e-fixtures/react/node_modules/react-dom/LICENSE +0 -21
  31. package/tests/e2e-fixtures/react/node_modules/react-dom/README.md +0 -60
  32. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -7018
  33. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -93
  34. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -7078
  35. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +0 -101
  36. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -7003
  37. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -96
  38. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -7059
  39. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -102
  40. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -1741
  41. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -40
  42. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom.development.js +0 -29868
  43. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -323
  44. package/tests/e2e-fixtures/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -367
  45. package/tests/e2e-fixtures/react/node_modules/react-dom/client.js +0 -25
  46. package/tests/e2e-fixtures/react/node_modules/react-dom/index.js +0 -38
  47. package/tests/e2e-fixtures/react/node_modules/react-dom/package.json +0 -62
  48. package/tests/e2e-fixtures/react/node_modules/react-dom/profiling.js +0 -38
  49. package/tests/e2e-fixtures/react/node_modules/react-dom/server.browser.js +0 -17
  50. package/tests/e2e-fixtures/react/node_modules/react-dom/server.js +0 -3
  51. package/tests/e2e-fixtures/react/node_modules/react-dom/server.node.js +0 -17
  52. package/tests/e2e-fixtures/react/node_modules/react-dom/test-utils.js +0 -7
  53. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +0 -7015
  54. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +0 -75
  55. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -7000
  56. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -76
  57. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -1737
  58. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -33
  59. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom.development.js +0 -29869
  60. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -267
  61. package/tests/e2e-fixtures/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -285
@@ -1,37 +0,0 @@
1
- # `react`
2
-
3
- React is a JavaScript library for creating user interfaces.
4
-
5
- The `react` package contains only the functionality necessary to define React components. It is typically used together with a React renderer like `react-dom` for the web, or `react-native` for the native environments.
6
-
7
- **Note:** by default, React will be in development mode. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages. Don't forget to use the [production build](https://reactjs.org/docs/optimizing-performance.html#use-the-production-build) when deploying your application.
8
-
9
- ## Usage
10
-
11
- ```js
12
- import { useState } from 'react';
13
- import { createRoot } from 'react-dom/client';
14
-
15
- function Counter() {
16
- const [count, setCount] = useState(0);
17
- return (
18
- <>
19
- <h1>{count}</h1>
20
- <button onClick={() => setCount(count + 1)}>
21
- Increment
22
- </button>
23
- </>
24
- );
25
- }
26
-
27
- const root = createRoot(document.getElementById('root'));
28
- root.render(<App />);
29
- ```
30
-
31
- ## Documentation
32
-
33
- See https://reactjs.org/
34
-
35
- ## API
36
-
37
- See https://reactjs.org/docs/react-api.html