File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "presets" : [" @babel/preset-env" , " @babel/preset-react" ],
3- "plugins" : [" @babel/plugin-proposal-class-properties" , " babel-plugin-transform-react-remove-prop-types" ],
3+ "plugins" : [
4+ [
5+ " babel-plugin-transform-react-remove-prop-types" ,
6+ {
7+ "mode" : " unsafe-wrap" ,
8+ "ignoreFilenames" : [" node_modules" ]
9+ }
10+ ],
11+ [" @babel/plugin-proposal-object-rest-spread" , { "loose" : true }],
12+ [" @babel/plugin-proposal-class-properties" , { "loose" : true }],
13+ " @babel/transform-runtime"
14+ ],
415 "env" : {
516 "cjs" : {
6- "presets" : [[" @babel/env" , { "modules" : " commonjs" }], " @babel/preset-react " ]
17+ "presets" : [[" @babel/env" , { "modules" : " commonjs" }]]
718 },
819 "esm" : {
9- "presets" : [[" @babel/env" , { "modules" : false }], " @babel/preset-react" ]
20+ "presets" : [[" @babel/env" , { "modules" : false }]],
21+ "plugins" : [[" @babel/transform-runtime" , { "useESModules" : true }]]
1022 },
1123 "test" : {
1224 "plugins" : [" @babel/plugin-transform-modules-commonjs" ]
Original file line number Diff line number Diff line change 11{
22 "name" : " react-css-transform" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " A React component to help handle complex nested 2d and 3d css transformations " ,
55 "main" : " dist/cjs/index.js" ,
66 "module" : " dist/esm/index.js" ,
6565 "@babel/cli" : " ^7.4.4" ,
6666 "@babel/core" : " ^7.4.4" ,
6767 "@babel/plugin-proposal-class-properties" : " ^7.4.4" ,
68+ "@babel/plugin-proposal-object-rest-spread" : " ^7.4.4" ,
6869 "@babel/plugin-syntax-dynamic-import" : " ^7.2.0" ,
6970 "@babel/plugin-transform-modules-commonjs" : " ^7.4.4" ,
7071 "@babel/plugin-transform-runtime" : " ^7.4.4" ,
You can’t perform that action at this time.
0 commit comments