@regenbio/regenbio-components-react 1.2.19 → 1.2.21

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.
@@ -51,16 +51,6 @@
51
51
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
52
52
  */
53
53
 
54
- /**
55
- * @license React
56
- * react-dom.production.min.js
57
- *
58
- * Copyright (c) Facebook, Inc. and its affiliates.
59
- *
60
- * This source code is licensed under the MIT license found in the
61
- * LICENSE file in the root directory of this source tree.
62
- */
63
-
64
54
  /**
65
55
  * @license React
66
56
  * react-is.production.min.js
@@ -81,16 +71,6 @@
81
71
  * LICENSE file in the root directory of this source tree.
82
72
  */
83
73
 
84
- /**
85
- * @license React
86
- * scheduler.production.min.js
87
- *
88
- * Copyright (c) Facebook, Inc. and its affiliates.
89
- *
90
- * This source code is licensed under the MIT license found in the
91
- * LICENSE file in the root directory of this source tree.
92
- */
93
-
94
74
  /**
95
75
  * @license React
96
76
  * use-sync-external-store-shim.production.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regenbio/regenbio-components-react",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -0,0 +1,43 @@
1
+ const path = require('path');
2
+
3
+ module.exports = {
4
+ entry: './src/index.tsx',
5
+ output: {
6
+ filename: 'index.js',
7
+ path: path.resolve(__dirname, 'build'),
8
+ libraryTarget: 'commonjs2'
9
+ },
10
+ module: {
11
+ rules: [
12
+ {
13
+ test: /\.js|jsx$/,
14
+ exclude: /(node_modules|build)/,
15
+ use: {
16
+ loader: 'babel-loader',
17
+ options: {
18
+ presets: ['@babel/preset-env', '@babel/preset-react']
19
+ }
20
+ }
21
+ },
22
+ {
23
+ test: /\.ts|tsx$/,
24
+ exclude: /(node_modules|build)/,
25
+ use: "ts-loader"
26
+ },
27
+ {
28
+ test: /\.css$/,
29
+ use: ['style-loader', 'css-loader']
30
+ },
31
+ ]
32
+ },
33
+ externals: {
34
+ react: 'react',
35
+ 'react-dom': 'react-dom'
36
+ },
37
+ resolve: {
38
+ alias: {
39
+ "@": path.resolve(__dirname, "src/services"),
40
+ },
41
+ extensions: [".tsx", ".ts", ".js", ".scss", ".css", ".less"],
42
+ },
43
+ };