File tree 5 files changed +1303
-680
lines changed
packages/react-container-query
5 files changed +1303
-680
lines changed Original file line number Diff line number Diff line change 23
23
"resize-observer-polyfill" : " ^1.5.0"
24
24
},
25
25
"devDependencies" : {
26
+ "babel-core" : " 6" ,
26
27
"babel-plugin-external-helpers" : " ^6.22.0" ,
27
28
"babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
28
29
"babel-preset-env" : " ^1.6.0" ,
29
30
"babel-preset-react" : " ^6.24.1" ,
30
- "jest" : " ^21.1.0 " ,
31
+ "jest" : " ^22.4.2 " ,
31
32
"npm-run-all" : " ^4.1.2" ,
32
- "rollup" : " ^0.50.0 " ,
33
+ "rollup" : " ^0.56.2 " ,
33
34
"rollup-plugin-babel" : " ^3.0.2" ,
34
35
"rollup-plugin-commonjs" : " ^8.0.2" ,
35
36
"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"
40
40
},
41
41
"peerDependencies" : {
42
42
"react" : " ^15.0.0 || ^16.0.0" ,
Original file line number Diff line number Diff line change 1
- import uglify from "rollup-plugin-uglify" ;
2
1
import sharedConfig from "./rollup.shared" ;
3
2
4
3
sharedConfig . output = [
@@ -8,6 +7,4 @@ sharedConfig.output = [
8
7
}
9
8
] ;
10
9
11
- sharedConfig . plugins . push ( uglify ( ) ) ;
12
-
13
10
export default sharedConfig ;
Original file line number Diff line number Diff line change 1
- import uglify from "rollup-plugin-uglify" ;
2
- import { minify } from "uglify-es" ;
3
1
import sharedConfig from "./rollup.shared" ;
4
2
5
3
sharedConfig . output = [
@@ -9,7 +7,4 @@ sharedConfig.output = [
9
7
}
10
8
] ;
11
9
12
- // @see https://www.npmjs.com/package/rollup-plugin-uglify#warning
13
- sharedConfig . plugins . push ( uglify ( { } , minify ) ) ;
14
-
15
10
export default sharedConfig ;
Original file line number Diff line number Diff line change 1
1
import babel from "rollup-plugin-babel" ;
2
+ import uglify from "rollup-plugin-uglify" ;
2
3
3
4
export default {
4
5
input : __dirname + "/../src/index.js" ,
5
- plugins : [ babel ( ) ] ,
6
+ plugins : [ babel ( ) , uglify ( ) ] ,
6
7
external : [
7
8
"react" ,
8
9
"react-dom" ,
You can’t perform that action at this time.
0 commit comments