diff --git a/docs/index.html b/docs/index.html index 45230ea4..265ce141 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,35 +1,9 @@ - - - - - Reactochart Docs - - - - - - - + + Redirect + - - - - -
Loading...
- - \ No newline at end of file + +Redirecting to docs... + + diff --git a/index.html b/index.html index fafb5821..f3325213 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ Redirect - + Redirecting to docs... diff --git a/webpack.config.base.js b/webpack.config.base.js index 2135194b..6dbe04f0 100644 --- a/webpack.config.base.js +++ b/webpack.config.base.js @@ -14,7 +14,7 @@ module.exports = { }, devServer: { port: 9876, - // contentBase: path.join(__dirname, "docs"), + contentBase: path.join(__dirname, "docs/build"), }, devtool: 'source-map', plugins: [ @@ -23,8 +23,7 @@ module.exports = { // put built html file in /docs/index.html ('../' because relative to /docs/build) // filename: path.join(__dirname, 'docs/index.html'), title: "Reactochart Docs", - template: "docs/src/index_html.ejs", - filename: "../index.html" + template: "docs/src/index_html.ejs" }), new CopyPlugin([{from: path.join(__dirname, 'docs/assets'), to: 'assets'}]) ],