Skip to content

Commit da38874

Browse files
author
Brad Dwyer
committed
Fix relative URLs for gh-pages
1 parent 5fffe05 commit da38874

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

webpack.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var plugins = [
3939

4040
if (dev) {
4141
plugins.push(
42-
new HtmlWebpackTagsPlugin({ tags: ["/localhost:35729/livereload.js"], append: false })
42+
new HtmlWebpackTagsPlugin({ tags: ["//localhost:35729/livereload.js"], append: false })
4343
);
4444

4545
plugins.push(new LiveReloadPlugin());
@@ -110,7 +110,6 @@ module.exports = {
110110
plugins: plugins,
111111
output: {
112112
filename: "[name].[contenthash].js",
113-
path: path.resolve(__dirname, "dist"),
114-
publicPath: "/"
113+
path: path.resolve(__dirname, "dist")
115114
}
116115
};

0 commit comments

Comments
 (0)