File tree 3 files changed +3
-20
lines changed
3 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ <h2>an accessible React modal dialog component</h2>
14
14
</ header >
15
15
< div id ="example " class ="padbox "> </ div >
16
16
< a target ="_top " href ="https://github.com/reactjs/react-modal "> < img style ="position: absolute; top: 0; right: 0; border: 0; " src ="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67 " alt ="Fork me on GitHub " data-canonical-src ="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png "> </ a >
17
- < script src ="../__build__/shared.js "> </ script >
18
- < script src ="../__build__/basic.js "> </ script >
17
+ < script src ="../__build__/basic.js " type ="application/javascript "> </ script >
19
18
</ body >
20
19
</ html >
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ <h2>an accessible React modal dialog component</h2>
14
14
</ header >
15
15
< div id ="example " class ="padbox "> </ div >
16
16
< a target ="_top " href ="https://github.com/reactjs/react-modal "> < img style ="position: absolute; top: 0; right: 0; border: 0; " src ="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67 " alt ="Fork me on GitHub " data-canonical-src ="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png "> </ a >
17
- < script src ="../__build__/shared.js "> </ script >
18
- < script src ="../__build__/bootstrap.js "> </ script >
17
+ < script type ="application/javascript " src ="/__build__/bootstrap.js "> </ script >
19
18
</ body >
20
19
</ html >
Original file line number Diff line number Diff line change @@ -24,35 +24,20 @@ function buildEntries() {
24
24
25
25
module . exports = {
26
26
mode : 'development' ,
27
-
28
27
entry : buildEntries ( ) ,
29
-
30
28
output : {
31
29
filename : '[name].js' ,
32
- chunkFilename : '[id].chunk.js' ,
33
30
path : path . resolve ( __dirname , './examples/__build__' ) ,
34
31
publicPath : '/__build__/'
35
32
} ,
36
-
37
33
module : {
38
34
rules : [
39
35
{ test : / \. j s $ / , exclude : / n o d e _ m o d u l e s / , use : { loader : 'babel-loader' } }
40
36
]
41
37
} ,
42
-
43
38
resolve : {
44
39
alias : {
45
40
"react-modal" : path . resolve ( __dirname , "./src" )
46
41
}
47
- } ,
48
-
49
- optimization : {
50
- splitChunks : {
51
- chunks : 'all'
52
- }
53
- } ,
54
-
55
- plugins : [
56
- new webpack . LoaderOptionsPlugin ( { debug : true } )
57
- ]
42
+ }
58
43
} ;
You can’t perform that action at this time.
0 commit comments