diff --git a/installer/templates/new/package.json b/installer/templates/new/package.json index 92131c4..2d0061d 100644 --- a/installer/templates/new/package.json +++ b/installer/templates/new/package.json @@ -18,7 +18,7 @@ "author": "", "license": "MIT", "devDependencies": { - "webpack-dev-server": "^1.14.1" + "webpack-dev-server": "1.14.1" }, "dependencies": { "kitto": "file:<%= npm_kitto_dep %>", diff --git a/installer/templates/new/webpack.config.js b/installer/templates/new/webpack.config.js index e0b239a..dc5767a 100644 --- a/installer/templates/new/webpack.config.js +++ b/installer/templates/new/webpack.config.js @@ -67,7 +67,7 @@ if (TARGET === 'start' || !TARGET) { devtool: 'eval-source-map', devServer: { contentBase: PATHS.build, - + headers: { 'Access-Control-Allow-Origin': '*' }, historyApiFallback: true, hot: true, inline: true,