diff --git a/webpack.config.js b/webpack.config.js index f63234a..1f30b00 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -34,7 +34,7 @@ module.exports = function (env) { return { devServer: { publicPath: '/' + options.outputDirectory + '/', - contentBase: [path.resolve(__dirname), path.resolve(__dirname, options.outputDirectory)], + contentBase: path.resolve(__dirname), historyApiFallback: true, // watchContentBase: true, writeToDisk: true,