Skip to content

Commit 2bc9bef

Browse files
committed
Merge branch 'master' into mihirsoni-fixing-dependecies-error
# Conflicts: # webpack.config.js
2 parents 155c6e3 + c4010ca commit 2bc9bef

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

client/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1.0" />
55
<meta charset="utf-8">
66
<title>React Router + Webpack 2 + Dynamic Chunk Navigation</title>
7-
<link href="./style.css" media="all" rel="stylesheet" />
7+
<link href="/style.css" media="all" rel="stylesheet" />
88
</head>
99
<body>
1010
<div id="root"></div>
11-
<script src="./vendor.bundle.js"></script>
12-
<script src="./bundle.js"></script>
11+
<script src="/vendor.bundle.js"></script>
12+
<script src="/bundle.js"></script>
1313
</body>
1414
</html>

webpack.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ module.exports = {
1111
context: path.join(__dirname, './client'),
1212
entry: {
1313
js: [
14-
'index', 'pages/Home'
14+
'index',
15+
'pages/Home'
1516
],
1617
vendor: [
17-
'react', 'react-dom'
18+
'react',
19+
'react-dom'
1820
]
1921
},
2022
output: {

0 commit comments

Comments
 (0)