lazy-react 3.2.0 → 3.4.1

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.
@@ -1,32 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- /** @license React v0.20.2
8
- * scheduler.production.min.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
-
16
- /** @license React v17.0.2
17
- * react-dom.production.min.js
18
- *
19
- * Copyright (c) Facebook, Inc. and its affiliates.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */
24
-
25
- /** @license React v17.0.2
26
- * react.production.min.js
27
- *
28
- * Copyright (c) Facebook, Inc. and its affiliates.
29
- *
30
- * This source code is licensed under the MIT license found in the
31
- * LICENSE file in the root directory of this source tree.
32
- */
package/tsconfig.json DELETED
@@ -1,25 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2015",
4
- "lib": [
5
- "dom",
6
- "dom.iterable",
7
- "esnext"
8
- ],
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "esModuleInterop": true,
12
- "allowSyntheticDefaultImports": true,
13
- "strict": true,
14
- "forceConsistentCasingInFileNames": true,
15
- "noFallthroughCasesInSwitch": true,
16
- "module": "esnext",
17
- "moduleResolution": "node",
18
- "resolveJsonModule": true,
19
- "isolatedModules": true,
20
- "jsx": "react"
21
- },
22
- "include": [
23
- "src"
24
- ]
25
- }
@@ -1,19 +0,0 @@
1
- var path = require('path')
2
-
3
- module.exports = {
4
- mode:'development',
5
- entry: './demo/demo.js',
6
- output: {
7
- path: path.join(__dirname),
8
- filename: './demo/index.js'
9
- },
10
- module: {
11
- rules: [
12
- {
13
- test: /\.js$/,
14
- use: 'ts-loader',
15
- exclude: /node_modules/
16
- }
17
- ]
18
- }
19
- }
package/webpack.config.js DELETED
@@ -1,42 +0,0 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- mode:'production',
5
- entry: path.join(__dirname,'./src/index.tsx'),
6
- module: {
7
- rules: [
8
- {
9
- test: /\.tsx?$/,
10
- use: [{loader:'ts-loader'}],
11
- exclude: /node_modules/,
12
- },
13
- ],
14
- },
15
- resolve: {
16
- extensions: ['.tsx', '.ts'],
17
- },
18
- output: {
19
- library: 'LazyReact',
20
- libraryTarget: 'umd',
21
- path: path.join(__dirname),
22
- filename: './dist/index.js'
23
- },
24
- externals: [
25
- {
26
- react: {
27
- root: 'React',
28
- commonjs2: 'react',
29
- commonjs: 'react',
30
- amd: 'react'
31
- }
32
- },
33
- {
34
- 'react-dom': {
35
- root: 'ReactDOM',
36
- commonjs2: 'react-dom',
37
- commonjs: 'react-dom',
38
- amd: 'react-dom'
39
- }
40
- }
41
- ],
42
- };