Skip to content

Commit

Permalink
Pin version of webpack-dev-server and enable CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash committed Oct 16, 2017
1 parent e10f81f commit c3bdd31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer/templates/new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>",
Expand Down
2 changes: 1 addition & 1 deletion installer/templates/new/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3bdd31

Please sign in to comment.