Skip to content

Commit 1b0c80d

Browse files
committed
react-container-query dep upgrades
1 parent cab5a54 commit 1b0c80d

File tree

5 files changed

+1303
-680
lines changed

5 files changed

+1303
-680
lines changed

packages/react-container-query/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323
"resize-observer-polyfill": "^1.5.0"
2424
},
2525
"devDependencies": {
26+
"babel-core": "6",
2627
"babel-plugin-external-helpers": "^6.22.0",
2728
"babel-plugin-transform-object-rest-spread": "^6.26.0",
2829
"babel-preset-env": "^1.6.0",
2930
"babel-preset-react": "^6.24.1",
30-
"jest": "^21.1.0",
31+
"jest": "^22.4.2",
3132
"npm-run-all": "^4.1.2",
32-
"rollup": "^0.50.0",
33+
"rollup": "^0.56.2",
3334
"rollup-plugin-babel": "^3.0.2",
3435
"rollup-plugin-commonjs": "^8.0.2",
3536
"rollup-plugin-flow": "^1.1.1",
36-
"rollup-plugin-node-resolve": "^3.0.0",
37-
"rollup-plugin-uglify": "^2.0.1",
38-
"size-limit": "^0.14.0",
39-
"uglify-es": "^3.0.26"
37+
"rollup-plugin-node-resolve": "^3.0.3",
38+
"rollup-plugin-uglify": "^3.0.0",
39+
"size-limit": "^0.15.1"
4040
},
4141
"peerDependencies": {
4242
"react": "^15.0.0 || ^16.0.0",
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import uglify from "rollup-plugin-uglify";
21
import sharedConfig from "./rollup.shared";
32

43
sharedConfig.output = [
@@ -8,6 +7,4 @@ sharedConfig.output = [
87
}
98
];
109

11-
sharedConfig.plugins.push(uglify());
12-
1310
export default sharedConfig;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import uglify from "rollup-plugin-uglify";
2-
import { minify } from "uglify-es";
31
import sharedConfig from "./rollup.shared";
42

53
sharedConfig.output = [
@@ -9,7 +7,4 @@ sharedConfig.output = [
97
}
108
];
119

12-
// @see https://www.npmjs.com/package/rollup-plugin-uglify#warning
13-
sharedConfig.plugins.push(uglify({}, minify));
14-
1510
export default sharedConfig;

packages/react-container-query/rollup/rollup.shared.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import babel from "rollup-plugin-babel";
2+
import uglify from "rollup-plugin-uglify";
23

34
export default {
45
input: __dirname + "/../src/index.js",
5-
plugins: [babel()],
6+
plugins: [babel(), uglify()],
67
external: [
78
"react",
89
"react-dom",

0 commit comments

Comments
 (0)