Skip to content

Commit 2cccedd

Browse files
authored
Merge pull request #168 from brendo/fix-demo
Fix publicPath for demo so it can be hosted in subdomains etc.
2 parents d89d315 + bb4fd37 commit 2cccedd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docs/demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
</head>
8-
<body><script type="text/javascript" src="/manifest.fef27e81def56e3d5138.js"></script><script type="text/javascript" src="/vendor.79bc97daec8b6df964d7.js"></script><script type="text/javascript" src="/demo.d74dfe1cd53571e16609.js"></script></body>
8+
<body><script type="text/javascript" src="manifest.603724635131e6baa7bd.js"></script><script type="text/javascript" src="vendor.79bc97daec8b6df964d7.js"></script><script type="text/javascript" src="demo.d74dfe1cd53571e16609.js"></script></body>
99
</html>

docs/demo/manifest.fef27e81def56e3d5138.js renamed to docs/demo/manifest.603724635131e6baa7bd.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77

88
output: {
99
path: `${__dirname}/dist`,
10-
publicPath: '/',
1110
filename: '[name].[chunkhash].js'
1211
},
1312

0 commit comments

Comments
 (0)