diff --git a/frontend/package.json b/frontend/package.json index 9ce80b2161..644efedb03 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,7 +22,9 @@ "node": "6" }, "scripts": { - "build": "webpack -p", + "build": "npm run build:assets && npm run build:html", + "build:assets": "webpack -p", + "build:html": "cp public/index.html dist/index.html", "start": "webpack-dev-server --config webpack.config.js --hot --progress --colors --port 3000", "start:api": "json-server --watch mock-api.json -p 3001", "lint": "eslint . --ext=js,jsx", diff --git a/frontend/public/index.html b/frontend/public/index.html new file mode 100644 index 0000000000..304cb46b06 --- /dev/null +++ b/frontend/public/index.html @@ -0,0 +1,21 @@ + + +
+ + + + + +