react-flexmonster 2.9.39 → 2.9.40

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.
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "react-flexmonster",
3
- "version": "2.9.39",
3
+ "version": "2.9.40",
4
4
  "license": "MIT",
5
5
  "description": "React 16.5+ Module for Flexmonster Pivot Table & Charts",
6
6
  "main": "./build/index.js",
7
7
  "typings": "./build/index.d.ts",
8
8
  "peerDependencies": {
9
- "flexmonster": "2.9.39",
9
+ "flexmonster": "2.9.40",
10
10
  "prop-types": "^15.7.2",
11
11
  "react": "^17.0.1",
12
12
  "react-dom": "^17.0.1"
13
13
  },
14
14
  "dependencies": {
15
- "flexmonster": "2.9.39",
15
+ "flexmonster": "2.9.40",
16
16
  "prop-types": "^15.7.2",
17
17
  "react": "^17.0.1",
18
18
  "react-dom": "^17.0.1"
package/webpack.config.js CHANGED
@@ -57,33 +57,4 @@ module.exports = [{
57
57
  'flexmonster': 'commonjs flexmonster',
58
58
  'prop-types': 'commonjs prop-types'
59
59
  }
60
- },
61
- {
62
- entry: './src/es5.js',
63
- output: {
64
- path: path.resolve(__dirname, 'es5'),
65
- filename: 'index.js',
66
- libraryTarget: 'commonjs2' // THIS IS THE MOST IMPORTANT LINE! :mindblow: I wasted more than 2 days until realize this was the line most important in all this guide.
67
- },
68
- module: {
69
- rules: [
70
- {
71
- test: /\.js$/,
72
- include: path.resolve(__dirname, 'src'),
73
- exclude: /(node_modules|bower_components|build)/,
74
- use: {
75
- loader: 'babel-loader',
76
- options: {
77
- presets: ['react']
78
- }
79
- }
80
- }
81
- ]
82
- },
83
- externals: {
84
- 'react': 'commonjs react', // this line is just to use the React dependency of our parent-testing-project instead of using our own React
85
- //'react-dom': 'commonjs react-dom',// this line is just to use the React-Dom dependency of our parent-testing-project instead of using our own React-Dom.
86
- 'flexmonster': 'commonjs flexmonster',
87
- 'prop-types': 'commonjs prop-types'
88
- }
89
- }];
60
+ }];
package/es5/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- declare module 'react-flexmonster' {
2
-
3
- export class Pivot extends React.Component<Flexmonster.Params, any> {
4
- flexmonster: Flexmonster.Pivot;
5
- }
6
-
7
- }
8
-