This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "presets" : [
3- " es2015" ,
3+ " es2015-ie " ,
44 " react" ,
55 " stage-0"
6+ ],
7+ "plugins" : [
8+ " add-module-exports" ,
9+ " transform-decorators-legacy"
610 ]
711}
Original file line number Diff line number Diff line change 3232 "devDependencies" : {
3333 "babel-cli" : " ^6.26.0" ,
3434 "babel-loader" : " ^7.1.2" ,
35- "babel-preset-es2015" : " ^6.24.1" ,
35+ "babel-plugin-add-module-exports" : " ^0.2.1" ,
36+ "babel-plugin-transform-decorators-legacy" : " ^1.3.4" ,
37+ "babel-preset-es2015-ie" : " ^6.7.0" ,
3638 "babel-preset-react" : " ^6.24.1" ,
3739 "babel-preset-stage-0" : " ^6.24.1" ,
3840 "create-react-class" : " ^15.6.0" ,
Original file line number Diff line number Diff line change @@ -112,4 +112,4 @@ DPlayerComponent.propTypes = {
112112 } ) ,
113113} ;
114114
115- export default DPlayerComponent ;
115+ export default DPlayerComponent ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const baseWebpackConfig = {
2323 amd : 'react' ,
2424 } ,
2525 [ `dplayer` ] : "DPlayer" ,
26- [ `dplayer/dist/DPlayer.min.css` ] : "null " ,
26+ [ `dplayer/dist/DPlayer.min.css` ] : "undefined " ,
2727 } ,
2828 devtool : '#sourcemap' ,
2929 resolve : {
You can’t perform that action at this time.
0 commit comments