Skip to content

Commit 46b8e20

Browse files
committed
Build demo client to dist-demo/
1 parent 52c735f commit 46b8e20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
You need to enable JavaScript to run this app.
1111
</noscript>
1212
<div id="root"></div>
13-
<script src="/dist/client-bundle.js"></script>
13+
<script src="/dist-demo/client-bundle.js"></script>
1414
</body>
1515
</html>

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const devServerPort = 8001;
55
module.exports = {
66
entry: path.join(__dirname, 'examples/parent-child-demo/src/index.js'),
77
output: {
8-
path: path.join(__dirname, 'dist'),
8+
path: path.join(__dirname, 'dist-demo'),
99
filename: 'client-bundle.js',
10-
publicPath: '/dist/'
10+
publicPath: '/dist-demo/'
1111
},
1212
module: {
1313
rules: [{

0 commit comments

Comments
 (0)